next up previous
Next: Channel Maps
Up: Making Maps
Previous: Contour Plots

Color `grayscale' images

 Contour plotting is a bit boring; you can liven up the results by asking for grayscale plots using the command grayscale-map (gray is enough)[*] Actually, most people make color `grayscale' images these days; they are much more interesting. Thus:

>> gray
Velo range? (km/s  ) [-160.0000,-150.0000] -142 -139
Integrated intensity? (rather than average) (Y/N) [Y]
R.A. offset scaled from   36.000 to  -36.000
Dec. offset scaled from   24.000 to  -36.000
 -- scale_bar --
    greyscale limits:  -0.3037275       12.43124
    plot limits:         25.00000       140.7970       40.00000
  136.4975
    device size:         220.0516       144.4975
    nx and ny:                   1           1
Setting colour table 1: linear grey scale

This will produce a grayscale plot with overlaid contours. If you want to get rid of the contours, use set-gray, and answer `n' in response to the query about contours:

>> set-gray
Set greyscales automatically? (Y/N) [Y]
Overlay contours? (Y/N) [Y] n
Colour table? (greyscale=1) [ 4] 1
..

The result is shown in Figure [*].


 \begin{figure}
% latex2html id marker 2165

\centering

\includegraphics [angle=...
 ...\small{Grayscale plot of the same field}
}\end{minipage}\end{center}\end{figure}

This really only works with a windowed terminal with a color monitor. However, the color table referred to allows a number of possibilities. Color table 4, for instance, produces a very nice blue thru yellow `grayscale', and color table 5 is the ``Cambridge colour spiral''. The best way to experiment with the option is to make a grayscale plot in interactive mode. Then, click on any point of the display window and type `h' for `help'. A list of interactive options will appear in your SPECX window. SPECX really is very clever -- I suggest you experiment with the options.

Once you have a plot you like on the screen, you should save it, or at least send it to the printer. To keep a recently made color Postscript file, say, you might do the following:

>> $ mv specx_pgplot.ps myplot.ps
>> $ lp -d color myplot.ps

This would send it to a printer named 'color`.



next up previous
Next: Channel Maps
Up: Making Maps
Previous: Contour Plots

Specx Cookbook Reduction of millimetre wave data
Starlink Cookbook 8
Henry Matthews, Tim Jenness
1st March 1997
E-mail:ussc@star.rl.ac.uk

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