JointPlot¶
-
class
sherpa.plot.
JointPlot
[source] [edit on github]¶ Bases:
sherpa.plot.SplitPlot
Multiple plots that share a common axis
This supports two plots, where the top plot is twice as tall as the bottom plot.
Attributes Summary
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.
plotbot
(plot, *args[, overplot])plottop
(plot, *args[, overplot, clearwindow])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, 'linewidths': None, 'xlog': False, 'ylog': False}¶
-
plot_prefs
= {'bottom': None, 'hspace': 0.4, 'left': None, 'right': None, 'top': None, 'wspace': 0.3}¶
Methods Documentation
-
addcontour
(plot, *args, **kwargs) [edit on github]¶ Add the contour plot to the next space.
-
addplot
(plot, *args, **kwargs) [edit on github]¶ Add the plot to the next space.
-
contour
(row, col, plot, *args, **kwargs) [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) [edit on github]¶ Add a contour plot to the given space without destroying the contents.
-
overlaycontour
(plot, *args, **kwargs) [edit on github]¶ Add the contour to the current space without destroying the contents.
-
overlayplot
(plot, *args, **kwargs) [edit on github]¶ Add the plot to the current space without destroying the contents.
-
overplot
(row, col, plot, *args, **kwargs) [edit on github]¶ Add a plot to the given space without destroying the contents.
-
plot
(row, col, plot, *args, **kwargs) [edit on github]¶ Add the plot in the given space.
-
plotbot
(plot, *args, overplot=False, **kwargs)[source] [edit on github]¶
-
plottop
(plot, *args, overplot=False, clearwindow=True, **kwargs)[source] [edit on github]¶
-
reset
(rows=2, cols=1) [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.
-