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

Jump to: Description · Examples · Bugs · See Also

AHELP for CIAO 4.9 ChIPS v1


Context: lines


Display the specified line.




The function arguments.

Argument Description
id A ChipsId structure identifying the item, or a string containing the name of the object.

If no argument is given then the current line is shown, otherwise the argument determines what to show.

Example 1

chips> add_line(0, 0, 1, 1)
chips> hide_line()
chips> display_line()

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

Example 2

chips> add_line(.1, .3, .9, .3, "id=flat")
chips> hide_line("flat")
chips> add_line(.3, .8, .8, .2, "id=slope")
chips> id = ChipsId()
chips> id.line = "flat"
chips> display_line(id)

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

Example 3

chips> add_line(.1, .3, .9, .3, "id=flat")
chips> add_line(.3, .8, .8, .2, "id=slope")
chips> hide_line("all")
chips> display_line("all")

Two lines are created and hidden, then the display_line command displays them both.


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

See Also

chipsid, currency, depthcontrol
collapse_depths, display_depth, get_default_depth, hide_depth, reindex_depth, set_default_depth
add_hline, add_line, add_vline, current_line, delete_line, get_line, hide_line, move_line, set_line, shuffle_line

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: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.