|
|
|
|
SynopsisDelete the contents of the plotting area. Syntaxclear_plot([id]) Description
The clear_plot command deletes all contents of the specified plot(s) - axes, curves, contours, histograms, and plot titles. The border axes which define the edge of the plot area are not removed. Example 1chips> add_curve(range (10), range (10)) chips> add_histogram([1,2,3], [4,5,6], 'id="my hist"') chips> add_label(1,8, 'Curve and Histogram') chips> add_label(.1,.9, 'New Curve') chips> clear_plot() Create a number of objects, then clear the plot area. Example 2
chips> split(3,3,.1,.1)
chips> current_plot('all')
chips> add_contour([1,4,5,2],2,2)
chips> clear_plot('plot5')Create a 3 by 3 grid of plot areas and add the contour to all of them. The center plot area ("plot5") is cleared by the clear_plot command. |
![]() |
The Chandra X-Ray
Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA. Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2004. All rights reserved. |