|
|
|
|
SynopsisCreates a point. Syntaxadd_point( [ChipsId,] xpos, ypos, [,attributes]); Description
The add_point command creates a point whose attributes are specified by user preferences or in an attribute list. The new point becomes current by default; providing a ChipsId overrides the currency state. The user specifies the location of the point as a coordinate pair (xpos and ypos). This position can be specified in data, pixel, frame, or plot normalized coordinates. Points specified in data coordinates will only be displayed if the are within the coordinate system range. Customizing the PointThere are several attributes that control the point characteristics. The attributes can be set to the ChIPS defaults, values provided in the add_point command, or values from the user's preference file. The attributes may also be modified with the set_point command at any time; see "ahelp sl.chips set_point" and "ahelp sl.chips setget" for more information. The attributes associated with points are:
Example 1chips> add_point(.4,.5); Add a point at position (.4,.5) in the current coordinate system. Example 2chips> settings = ChipsPoint; chips> settings.color = "blue"; chips> settings.size = 18.0; chips> settings.stem = "MyPoint"; chips> add_point(100,100,settings); Populating the "settings" structure with the attribute values, then adding the point. Example 3
chips> add_point(100,100,{"color", "blue", "style", "uptriangle",
"size", "12" });Add an upward-pointing triangle point, specifying the attribute values in a list. 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. |