|AHELP for CIAO 4.5 ChIPS v1||
Delete the specified contour.
delete_contour() delete_contour( [ChipsId] ) delete_contour( "contour_id" ) delete_contour( "all" )
Depending on the argument, the delete_contour command deletes the current contour, the contour indicated in a ChipsId structure or by the contour_id, or all contours.
- (no argument) - the current contour is deleted.
- ChipsId - an optional ChipsId structure containing values to modify the currency state for the command.
- contour_id - identification tag given to each object that is created; use this to delete a specific contour.
- all - deletes all contours.
chips> add_contour([[1,1,1], [1,3,1], [1,1,1]], 3,3) chips> delete_contour()
Create a contour, then delete it.
chips> id = ChipsId() chips> add_contour([[1,1,1], [1,3,1], [1,1,1]], 3,3, [1.1,1.5,2,2.5],'id=levels') chips> add_contour([1,2,5,3,3,6,0,0,1],3,3) chips> id.contour = "levels" chips> delete_contour(id)
Two contours are created; the second contour is current after it is created. The id.contour command sets the contour value of the ChipsId structure to the first contour. That contour is then deleted.
chips> add_contour([[1,1,1], [1,3,1], [1,1,1]], 3,3, [1.1,1.5,2,2.5],'color=lime style=solid') chips> add_contour([1,2,5,3,3,6,0,0,1],3,3) chips> delete_contour("all")
Two contours are created, then the delete_contour command deletes them both.
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.