Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

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


AHELP for CIAO 4.6 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

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

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-2014. All rights reserved.