|
|
|
|
SynopsisCreates a vertical line. Syntaxadd_vline( [ChipsId,] x [,attributes]); Description
The add_vline command creates a vertical line at the specified x location. The location of the line can be specified in data, pixel, frame, or plot normalized coordinates. The line extends infinitely along the vertical. It is clipped appropriately by its coordinate system (e.g. lines in data coordinates or plot normalized will be clipped at plot boundaries). This command is the same as creating a vertical line segment with add_line ("ahelp sl.chips add_line") and setting the "extend" property so that it extends both ends of the line; see the Line Extend section of "ahelp sl.chips chipsopt" . Customizing the LineThere are several attributes that control the line characteristics. The attributes can be set to the ChIPS defaults, values provided in the add_vline command, or values from the user's preference file. The attributes may also be modified with the set_line command at any time; see "ahelp sl.chips set_line" and "ahelp sl.chips setget" for more information. The attributes associated with lines are:
Example 2chips> settings = ChipsLine; chips> settings.color = "blue"; chips> settings.thickness = 8.0; chips> settings.stem = "MyLine"; chips> add_axis (XY_AXIS, 0, 0, 200); chips> add_vline(100,settings); Populate the "settings" structure with the attribute values, then add a vertical line that passes through the point 100 on the x-axis. BugsSee the bugs pages on the ChIPS website for an up-to-date listing of known bugs. |
![]() |
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. |