SplitPlot
- class sherpa.plot.SplitPlot(rows=2, cols=1)[source] [edit on github]
-
Create multiple plots.
Attributes Summary
The preferences for the plot.
The preferences for the plot.
Methods Summary
addcontour
(plot, *args, **kwargs)Add the contour plot to the next space.
addplot
(plot, *args, **kwargs)Add the plot to the next space.
contour
(row, col, plot, *args, **kwargs)Add the contour in the given space.
hline
(y[, xmin, xmax, linecolor, linestyle, ...])Draw a line at constant y, extending over the plot.
overcontour
(row, col, plot, *args, **kwargs)Add a contour plot to the given space without destroying the contents.
overlaycontour
(plot, *args, **kwargs)Add the contour to the current space without destroying the contents.
overlayplot
(plot, *args, **kwargs)Add the plot to the current space without destroying the contents.
overplot
(row, col, plot, *args, **kwargs)Add a plot to the given space without destroying the contents.
plot
(row, col, plot, *args, **kwargs)Add the plot in the given space.
reset
([rows, cols])Prepare for a new set of plots or contours.
vline
(x[, ymin, ymax, linecolor, linestyle, ...])Draw a line at constant x, extending over the plot.
Attributes Documentation
- contour_prefs = {'alpha': None, 'colors': None, 'label': None, 'levels': None, 'linestyles': 'solid', 'linewidths': None, 'xlog': False, 'ylog': False}
The preferences for the plot.
- plot_prefs = {}
The preferences for the plot.
Methods Documentation
- addcontour(plot, *args, **kwargs)[source] [edit on github]
Add the contour plot to the next space.
- addplot(plot, *args, **kwargs)[source] [edit on github]
Add the plot to the next space.
- contour(row, col, plot, *args, **kwargs)[source] [edit on github]
Add the contour in the given space.
- static hline(y, xmin=0, xmax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True) [edit on github]
Draw a line at constant y, extending over the plot.
- overcontour(row, col, plot, *args, **kwargs)[source] [edit on github]
Add a contour plot to the given space without destroying the contents.
- overlaycontour(plot, *args, **kwargs)[source] [edit on github]
Add the contour to the current space without destroying the contents.
- overlayplot(plot, *args, **kwargs)[source] [edit on github]
Add the plot to the current space without destroying the contents.
- overplot(row, col, plot, *args, **kwargs)[source] [edit on github]
Add a plot to the given space without destroying the contents.
- plot(row, col, plot, *args, **kwargs)[source] [edit on github]
Add the plot in the given space.
- reset(rows=2, cols=1)[source] [edit on github]
Prepare for a new set of plots or contours.
- static vline(x, ymin=0, ymax=1, linecolor=None, linestyle=None, linewidth=None, overplot=False, clearwindow=True) [edit on github]
Draw a line at constant x, extending over the plot.