set_xlinear
- sherpa.ui.set_xlinear(plottype: str = 'all') None
New plots will display a linear X axis.
This setting only affects plots created after the call to
set_xlinear.- Parameters:
plottype (optional) – The type of plot that is to use a log-scaled X axis. The options are the same as accepted by
plot, together with the ‘all’ option (which is the default setting).
See also
plotCreate one or more plot types.
set_xlogNew plots will display a logarithmically-scaled X axis.
set_ylinearNew plots will display a linear Y axis.
Examples
Use a linear X axis for ‘data’ plots:
>>> set_xlinear('data') >>> plot('data', 'arf')
All plots use a linear scale for the X axis.
>>> set_xlinear() >>> plot_fit()