Configure appearance of Sherpa plots.
The Sherpa configuration variable (also called "state
object") sherpa.multiplot controls appearance of plots
created by CPLOT, LPLOT ,
OPLOT and SPLOT .
The following table lists each field of sherpa.multiplot, with a
description and the default value:
use_tex_strings
|
Cause certain characters in labels (e.g., "_") NOT
to be interpreted as TeX would (0 = false, 1 = true)
|
1
|
skip_tex_chars
|
Characters which are NOT to be interpreted as TeX would
|
%$_
|
gap
|
Gap width when two, and only two, plots are created with LPLOT
|
0.1
|
clear
|
Clear ChIPS window before plot command executed (0 = false,
1 = true)
|
1
|
newarea
|
When plot command creates multiple plots, put each plot in a new
drawing area (0 = false, 1 = true)
|
1
|
redraw
|
Redraw after every ChIPS command (0 = false, 1 = true)
|
0
|
prefunc
|
User S-Lang function executed before the data is plotted
|
NULL
|
postfunc
|
User S-Lang function executed after the data is plotted
|
NULL
|
xfilter_lo
|
Lower x bound applied to all plots (if NULL, lower bound
taken from data)
|
NULL
|
xfilter_hi
|
Upper x bound applied to all plots (if NULL, upper bound
taken from data)
|
NULL
|
The fields sherpa.multiplot.prefunc and sherpa.multiplot.postfunc refer
to optional user functions that can be applied to plots before
and after the plot is created. Please see the ahelp file
sherpa-plot-hooks for more information.
Generate plot in a new drawing area.
sherpa> sherpa.multiplot.newarea=1
sherpa> LPLOT DATA
The sherpa.multiplot settings can be changed at the command
line. When assigning a string to a field, the string should be quoted
as shown in the second command:
sherpa> sherpa.multiplot.gap = 0.2
sherpa> sherpa.multiplot.skip_tex_chars = "%$_"
Create an alias smp to sherpa.multiplot and use it.
sherpa> variable smp = sherpa.multiplot
sherpa> smp.gap = 0.2
sherpa> smp.skip_tex_chars = "%$_"
Use print to obtain the information about the current settings
of sherpa.multiplot:
sherpa> print(sherpa.multiplot)
use_tex_strings = 1
skip_tex_chars = %$_
gap = 0.1
clear = 1
newarea = 1
redraw = 0
prefunc = NULL
postfunc = NULL
xfilter_lo = NULL
xfilter_hi = NULL
|