set_xlinear

sherpa.astro.ui.set_xlinear(plottype='all')

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

plot()

Create one or more plot types.

set_xlog()

New plots will display a logarithmically-scaled X axis.

set_ylinear()

New 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()