DataContour

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

Bases: Contour

Create contours of 2D data.

x0, x1

The coordinates of each point (the independent variables), as one-dimensional arrays.

Type:

array_like

y

The Y value for each point (the dependent variable), as a one-dimensional array.

Type:

array_like

levels

The values at which to draw contours.

Type:

array_like or None

xlabel, ylabel, title

Plot labels.

Type:

str

Attributes Summary

contour_prefs

The preferences for the plot.

Methods Summary

contour([overcontour, clearwindow])

overcontour(*args, **kwargs)

prepare(data[, stat])

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.

Methods Documentation

contour(overcontour=False, clearwindow=True, **kwargs)[source] [edit on github]
overcontour(*args, **kwargs) [edit on github]
prepare(data, stat=None)[source] [edit on github]