|
|
|
|
SynopsisDelete the specified curve. Syntaxdelete_curve() delete_curve( [ChipsId] ) delete_curve( "curve_id" ) delete_curve( "all" ) DescriptionDepending on the argument, the delete_curve command deletes the current curve, the curve indicated in a ChipsId structure or by the curve_id, or all curves.
Example 1chips> add_curve([-23,4,15],[10,8,11]) chips> delete_curve() Create a curve, then delete it. Example 2chips> id = ChipsId() chips> add_curve([-4,0,4],[0,5,10]) chips> add_curve(numpy.arange(-4,4),numpy.arange(-4,4)*numpy.arange(-4,4),"id=p arabola") chips> id.curve = "crv1" chips> delete_curve(id) Two curves are created; the second curve is current after it is created. The id.curve command sets the curve value of the ChipsId structure to the first curve, which has the id "crv1" by default. That curve is then deleted. Example 3
chips> add_curve([-4,0,4],[0,5,10])
chips>
add_curve(numpy.arange(-4,4),numpy.arange(-4,4)*numpy.arange(-4,4))
chips> delete_curve("all")Two curves are created, then the delete_curve command deletes them both. BugsSee the bugs pages on the ChIPS website for an up-to-date listing of known bugs. See Also
|
![]() |
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. |