Plot

class sherpa.plot.Plot[source] [edit on github]

Bases: sherpa.utils.NoNewAttributesAfterInit

Base class for line plots

Attributes Summary

plot_prefs

Methods Summary

hline(y[, xmin, xmax, linecolor, linestyle, …]) Draw a line at constant y, extending over the plot.
overplot(*args, **kwargs) Add the data to an existing plot.
plot(x, y[, yerr, xerr, title, xlabel, …])
vline(x[, ymin, ymax, linecolor, linestyle, …]) Draw a line at constant x, extending over the plot.

Attributes Documentation

plot_prefs = {'barsabove': False, 'capsize': None, 'color': None, 'ecolor': None, 'linecolor': None, 'linestyle': 'steps', 'marker': 'None', 'markerfacecolor': None, 'markersize': None, 'ratioline': False, 'xaxis': False, 'xerrorbars': False, 'xlog': False, 'yerrorbars': False, 'ylog': False}

Methods Documentation

static hline(y, xmin=0, xmax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True)[source] [edit on github]

Draw a line at constant y, extending over the plot.

overplot(*args, **kwargs)[source] [edit on github]

Add the data to an existing plot.

plot(x, y, yerr=None, xerr=None, title=None, xlabel=None, ylabel=None, overplot=False, clearwindow=True)[source] [edit on github]
static vline(x, ymin=0, ymax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True)[source] [edit on github]

Draw a line at constant x, extending over the plot.