set_ylinear

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

New plots will display a linear Y axis.

This setting only affects plots created after the call to set_ylinear.

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_xlinear

New plots will display a linear X axis.

set_ylog

New plots will display a logarithmically-scaled Y axis.

Examples

Use a linear Y axis for ‘data’ plots:

>>> set_ylinear('data')
>>> plot('data', 'arf')

All plots use a linear scale for the Y axis.

>>> set_ylinear()
>>> plot_fit()