About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/undo.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 undo Context: chips

Synopsis

Undoes the most recently executed plotting command.

Syntax

chips> UNDO
chips> UNDO n

Description

The UNDO command undoes the previous ChIPS command or - if a number is supplied ("m" above) - undoes that number of commands. There is a limit of 10 commands that can be undone.

Example 1

chips> CURVE data/example.dat
chips> LIMITS X 5.0 15.0
chips> UNDO

A curve is plotted, then the limits of the X-axis are changed. The UNDO command restores the limit to their original defaults.

Example 2

chips> CURVE data/example.dat
chips> LIMITS X 5.0 15.0
chips> LIMITS Y 10.0 15.0
chips> AXES BLUE
chips> LIMITS Y 10.0 25.0
chips> UNDO 3

A curve is plotted and the limits of both axes are changed. They are colored blue, then the Y-axis limits are changed again. The UNDO command backtracks through the previous three commands (in the order they are undone: LIMITS Y 10.0 25.0, AXES BLUE, LIMITS Y 10.0 15.0).

Bugs

See the bugs page for ChIPS on the CIAO website for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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