### PLOTLIST

Draws position markers on a graphics display

#### Description:

This routine draws a variety of markers (crosses, circles, squares etc.) at positions specified in series of position lists. Before this application can be run an image (or other graphical output such as a contour image) must have been displayed using a suitable routine such as KAPPA’s DISPLAY or CCDPACK’s DRAWNDF.

For a more interactive display of markers on an Xwindows display, you can use the IDICURS program instead.

#### Usage:

plotlist inlist [device]

#### Parameters:

This parameter controls whether or not the display device is cleared before plotting the markers. Setting this TRUE could be useful if plotting in a device overlay. [FALSE]
##### DEVICE = DEVICE (Write)
The name of the device on which to plot the markers. [Current display device]
This parameter is used to access the names of the lists which contain the positions and, if NDFNAMES is TRUE, the names of the associated images. If NDFNAMES is TRUE the names of the position lists are assumed to be stored in the extension of the images (in the CCDPACK extension item CURRENT_LIST) and the names of the images themselves should be given (and may include wildcards).

If NDFNAMES is FALSE then the actual names of the position lists should be given. These may not use wildcards but may be specified using indirection (other CCDPACK position list processing routines will write the names of their results files into files suitable for use in this manner) the indirection character is "^".

Name of the CCDPACK logfile. If a null (!) value is given for this parameter then no logfile will be written, regardless of the value of the LOGTO parameter.

If the logging system has been initialised using CCDSETUP then the value specified there will be used. Otherwise, the default is "CCDPACK.LOG". [CCDPACK.LOG]

Every CCDPACK application has the ability to log its output for future reference as well as for display on the terminal. This parameter controls this process, and may be set to any unique abbreviation of the following:
• TERMINAL – Send output to the terminal only

• LOGFILE – Send output to the logfile only (see the LOGFILE parameter)

• BOTH – Send output to both the terminal and the logfile

• NEITHER – Produce no output at all

If the logging system has been initialised using CCDSETUP then the value specified there will be used. Otherwise, the default is "BOTH". [BOTH]

The size of the marker which will be drawn as a multiple of the default value. So for instance doubling the value of this parameter will increase the size of the markers by a factor of two. The default marker size is around 1/40 of the lesser of the width or height of the plot. [2.5]
The type of marker to plot at the positions given in the input files. PGPLOT Graph Markers are drawn if the value lies in the range 0-31 (a value of 2 gives a cross, 7 a triangle, 24-27 various circles etc. see the PGPLOT manual). If the value of this parameter is less than zero then the identifier values, which are in column one of the input file, will be written over the objects. [2]
If TRUE then the routine will assume that the names of the position lists are stored in the image CCDPACK extensions under the item "CURRENT_LIST".

If a global value for this parameter has been set using CCDSETUP then that value will be used. [TRUE]

The pen number to use when drawing the markers. The colours associated with these pens are the default PGPLOT pens (see the PGPLOT manual for a complete description). These are:
• 0 – background colour

• 1 – foreground colour

• 2 – red

• 3 – green

• 4 – blue

• 5 – cyan

• 6 – magenta

• 7 – yellow

• 8 – orange

and so on up to pen 16 (or up to the number available on the current graphics device). After PLOTLIST has been run these colours can be superseded by using the KAPPA palette facilities PALDEF and PALENTRY, but note that any subsequent runs of PLOTLIST will reinstate the PGPLOT default colours. The KAPPA palette pen numbers correspond to PALNUM values (hence the parameter name). [3]

The thickness of the lines used to draw the markers. This may take any value in the range 1-21. [1]

#### Examples:

plotlist inlist=’$\ast$’
In this example all the images in the current directory are accessed and their associated lists of positions are plotted onto the current display device.
plotlist ndfnames=false inlist=one_list.dat
In this example the position list one_list.dat is opened and its position are plotted on the current display device.
plotlist in=’aligned_$\ast$’ mtype=-1 palnum=4 msize=1 thick=3
In this example the images aligned_$\ast$ have their associated position lists accessed and the positions are plotted on the current display device. The pen colour used is blue. The text is drawn at a relative size of 1 (the normal default is 2.5) with a line thickness of 3.

#### Notes:

• Position list formats.

CCDPACK supports data in two formats.

CCDPACK format - the first three columns are interpreted as the following.

• Column 1: an integer identifier

• Column 2: the X position

• Column 3: the Y position

The column one value must be an integer and is used to identify positions which are the same but which have different locations on different images. Values in any other (trailing) columns are usually ignored.

EXTERNAL format - positions are specified using just an X and a Y entry and no other entries.

• Column 1: the X position

• Column 2: the Y position

This format is used by KAPPA applications such as CURSOR.

Comments may be included in a file using the characters "#" and "!". Columns may be separated by the use of commas or spaces.

• NDF extension items.

If NDFNAMES is TRUE then the item "CURRENT_LIST" of the .MORE.CCDPACK structure of the input images will be located and assumed to contain the names of the lists whose positions are to be plotted.

#### Behaviour of parameters

All parameters retain their current value as default. The "current" value is the value assigned on the last run of the application. If the application has not been run then the "intrinsic" defaults, as shown in the parameter help, apply.

Retaining parameter values has the advantage of allowing you to define the default behaviour of the application. The intrinsic default behaviour of the application may be restored by using the RESET keyword on the command line.

Certain parameters (LOGTO, LOGFILE and NDFNAMES) have global values. These global values will always take precedence, except when an assignment is made on the command line. Global values may be set and reset using the CCDSETUP and CCDCLEAR commands.

The DEVICE parameter also has a global association. This is not controlled by the usual CCDPACK mechanisms, instead it works in co-operation with KAPPA (SUN/95) image display/control routines.