Last modified: December 2013

Jump to: Description · Examples · Bugs · See Also

AHELP for CIAO 4.12 Sherpa v1


Context: visualization


Create a contour plot of the fit and residuals


contour_fit_resid([id,] [replot=False,] [overcontour=False]])


The contour_fit_resid command creates a contour plot of the fit to 2D data and the residuals. To plot other contour components at the same time (e.g. fit, source, and residuals), use the contour command ("ahelp contour") .

The plot is displayed in a ChIPS plotting window. If there is no plotting window open, one is created. If a plotting window exists, the overcontour parameter value determines whether the new plot is overlaid on any existing plots in the window or if the window is cleared before the plot is drawn.

ChIPS commands may be used within Sherpa to modify plot characteristics and create hardcopies; refer to the ChIPS website for information.


Example 1

sherpa> contour_fit_resid()

Create a contour plot of the fit and residuals for the default dataset.

Example 2

sherpa> contour_fit_resid("src", overcontour=True)

Make a contour plot of the fit and residuals for dataset "src", overplotting if there is an existing ChIPS window.


See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

contour_kernel, contour_psf
contour, contour_data, contour_fit, contour_model, contour_ratio, contour_resid, contour_source