next up previous 222
Next: Worked example
Up: The graphics translation file
Previous: SIZE1, SIZE2 and SIZE3

LABEL

The name of the column to be used to label each object.



If the graphics translation file simply consists of a set of specifiers for the above items they will be applied to all the objects in the list. Often this approach will be adequate. However, sometimes it will be desired to plot different objects in different ways (for example with different symbols or colours), depending on whether or not they meet some criteria. This behaviour is achieved by enclosing the definitions for the graphics attributes within a set of clauses, where each clause defines some aspect of the symbol to be used for objects which meet the criteria. The syntax is:

IF condition

  $\vdots$

ELSE IF condition

  $\vdots$

ELSE IF condition

  $\vdots$

ELSE

  $\vdots$

END IF

condition is the condition, expressed in terms of columns in the targets list, which objects must satisfy to be plotted in the particular way. An example might be `MAG .LT. 12.0' to plot objects brighter than 12th magnitude in a given way. The following points apply.



next up previous 222
Next: Worked example
Up: The graphics translation file
Previous: SIZE1, SIZE2 and SIZE3

CURSA Catalogue and Table Manipulation Applications
Starlink User Note 190
A.C. Davenhall
4th November 2001
E-mail:starlink@jiscmail.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils