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 2008

URL: http://cxc.harvard.edu/chips4.1/display_curve.sl.html
AHELP for ChIPS 4.1

display_curve

Context: sl.chips

Synopsis

Display the specified curve.

Syntax

display_curve();
display_curve( [ChipsId] );
display_curve( "curve_id" );
display_curve( "all" );

Description

Depending on the argument, this command displays the current curve, the curve indicated in a ChipsId structure or by the curve_id, or all curves.

  • (no argument) - the current curve is displayed.
  • ChipsId - an optional ChipsId structure containing values to modify the currency state for the command.
  • curve_id - identification tag given to each object that is created; use this to display a specific curve.
  • all - displays all curves.

Example 1

chips> add_curve([-23,4,15],[10,8,11]);
chips> hide_curve();
chips> display_curve();

Create a curve and hide it, then display the current curve.

Example 2

chips> id = ChipsId();
chips> add_curve([-4,0,4],[0,5,10], "id=diag");
chips> hide_curve("diag");
chips> add_curve([-4:4],[-4:4]^2,"id=parabola");
chips> id.curve = "diag";
chips> display_curve(id);

Two curves are created; the second curve is current after it is created. The id.curve command sets the curve value of the ChipsId structure to the first curve. That curve is then displayed.

Example 3

chips> add_curve([-4,0,4],[0,5,10]);
chips> add_curve([-4:4],[-4:4]^2);
chips> hide_curve("all");
chips> display_curve("all");

Two curves are created and hidden, then the display_curve command displays them both.

Bugs

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

Last modified: December 2008



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.