next up previous 241
Next: Comments
Up: Data File Formats
Previous: Column delimiters

Column labels

It is possible to give each column in a file a symbolic name that can be used to reference the column when reading the file and can be automatically transferred to the appropriate axis label on the plot. To do this, the first line of the file should be of the form:

!$label 1$label 2$label 3$
where there are as many labels, each delimited by a $, as there are columns. Care should be taken to ensure that there is no leading white space in the column labels, although it is permissible for the column labels to contain white space elsewhere. Any padding that is required to make the column labels line up with the data columns should be achieved with multiple dollar signs, e.g. :
!$RA$$$$Declination$
When specifying the column on the command line, e.g. YCOL Dec, it is permissible to abbreviate the string to a minimum match. However, the match is case-sensitive.



next up previous 241
Next: Comments
Up: Data File Formats
Previous: Column delimiters

PONGO [2exof Applications for Interactive Data Plotting [2exon 2.0-2
Starlink User Note 137
Paul Harrison, Paul Rees,
Peter Draper, Alasdair Allan
27 March 2008
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council