next up previous 174
Next: Dressing Up Your Spectrum
Up: A More Complete Introduction to SPECX
Previous: Closing in on your spectrum; interactive vs non-interactive modes


A note on command line syntax

This may be a little tedious by now, so this may be a good time to introduce the notion of dispensing with the chatter of the question-and-answer mode. Once you know what questions SPECX will ask you can provide the answers before being asked on a command line. Thus, to set the plot scales above you would type

$>\!>$ s-p-sc\n\-50 50\n\-5 50\

and to reset the scales to fully automatic

$>\!>$ s-p-sc\y\y\

Note that the command itself has been shortened to the minimum-matching level. If you truncate the command too much SPECX will inform you of all the commands meeting your ambiguous specification. The backslashes separate command line parameters. They do not have to be present in this particular case i.e.

$>\!>$ s-p-sc y y

would do. However, it is better to have them there within command files, especially where a command calls for multiple inputs. Otherwise the results may be a little strange on occasion.

Parameters may be omitted altogether if you want to take the defaults, or the previous settings. In this case one can either use the placeholder symbol #:

$>\!>$ s-p-sc\n\#\n\#\

or nothing at all:

$>\!>$ s-p-sc\\\\\


next up previous 174
Next: Dressing Up Your Spectrum
Up: A More Complete Introduction to SPECX
Previous: Closing in on your spectrum; interactive vs non-interactive modes

Specx Cookbook
Starlink Cookbook 8
Henry Matthews, Tim Jenness
1st March 1997
E-mail:P.W.Draper@durham.ac.uk

Copyright © 2008 Science and Technology Facilities Council