Plot¶
-
class
sherpa.plot.
Plot
[source]¶ 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
= {'markersize': None, 'barsabove': False, 'ratioline': False, 'xaxis': False, 'ylog': False, 'ecolor': None, 'capsize': None, 'yerrorbars': False, 'linecolor': None, 'markerfacecolor': None, 'marker': 'None', 'color': None, 'linestyle': 'steps', 'xlog': False, 'xerrorbars': False}¶
Methods Documentation
-
static
hline
(y, xmin=0, xmax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True)[source]¶ Draw a line at constant y, extending over the plot.
-