Synopsis
Deletes all windows (and their contents).
Syntax
clear()
Description
The clear command deletes all windows in the ChIPS session. This is synonymous with calling delete_window("all"), except no error message is printed if no windows exist.
Example
chips> add_curve([1,2,3], [4,5,6]) chips> add_window() chips> add_image("img.fits") chips> add_colorbar(0.5, 1.05) chips> clear() chips> undo()
Deletes all the windows created and their contents. The undo() call restores the contents.
Bugs
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.