|AHELP for CIAO 4.6 ChIPS v1||
Delete the specified curve.
The function arguments.
|id||A ChipsId structure identifying the item, or a string containing the name of the object.|
If no argument is given then the current curve is deleted, otherwise the argument determines what to delete.
chips> add_curve([-23,4,15],[10,8,11]) chips> delete_curve()
Create a curve, then delete it.
chips> add_curve([-4,0,4],[0,5,10]) chips> x = np.arange(-4,4) chips> add_curve(x, x**2, "id=parabola") chips> id = ChipsId() 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.
chips> add_curve([-4,0,4],[0,5,10]) chips> x = np.arange(-4,4) chips> add_curve(x, x**2) chips> delete_curve("all")
Two curves are created, then the delete_curve command deletes them both.
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.