OrderPlot¶
-
class
sherpa.astro.plot.
OrderPlot
[source] [edit on github]¶ Bases:
sherpa.astro.plot.ModelHistogram
Derived class for creating plots of the convolved source model using selected multiple responses
Attributes Summary
Return (xlo + xhi) / 2
Methods Summary
overplot
(*args, **kwargs)plot
([overplot, clearwindow])Plot the data.
prepare
(data, model[, orders, colors])Attributes Documentation
-
histo_prefs
= {'alpha': None, 'barsabove': False, 'capsize': None, 'color': None, 'drawstyle': 'default', 'ecolor': None, 'linecolor': None, 'linestyle': 'solid', 'marker': 'None', 'markerfacecolor': None, 'markersize': None, 'xerrorbars': False, 'xlog': False, 'yerrorbars': False, 'ylog': False}¶
-
x
¶ Return (xlo + xhi) / 2
This is intended to make it easier to swap between plot- and histogram-style plots by providing access to an X value.
Methods Documentation
-
overplot
(*args, **kwargs) [edit on github]¶
-
plot
(overplot=False, clearwindow=True, **kwargs)[source] [edit on github]¶ Plot the data.
This will plot the data sent to the prepare method.
- Parameters
overplot (bool, optional) – If
True
then add the data to an exsiting plot, otherwise create a new plot.clearwindow (bool, optional) – Should the existing plot area be cleared before creating this new plot (e.g. for multi-panel plots)?
**kwargs – These values are passed on to the plot backend, and must match the names of the keys of the object’s plot_prefs dictionary.
See also
-
prepare
(data, model, orders=None, colors=None)[source] [edit on github]¶
-