Last modified: December 2013

URL: http://cxc.harvard.edu/chips/ahelp/clear.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.11 ChIPS v1

clear

Context: utilities

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.

See Also

windows
add_window, current_window, deiconify_window, delete_window, get_window, iconify_window, print_window, set_window