Let us continue with some examples of usage if these programs.
We will just give a few examples of some common things that you might like to do with it.
Finally, a histogram equalized pixel map representation of a continuum image is overlaid on each channel sub-plot. As the output file is a disk file (a colour post-script file) we have used the range keyword to specify the desired lookup table (rainbow colours; fourth argument of keyword) and transfer function (histogram equalzation; third argument of keyword). Alternatively, we could still have used the interactive fiddle to do these things as the dialogue is keyboard driven for non-interactive devices. In fact, if we had set a transfer function via the range keyword and then invoked the interactive fiddle, we could have applied another transfer function to the already histogram equalized image !
The options keyword is used to ask for an intensity wedge so that the map of colour to intensity can be seen. It is also used to ask for a full coordinate grid on the plot instead of just ticks as well as to annotate the plot with information about the images. Finally it is also used to ask for the value of the third axis (usuallt velocity or frequency) to be written in the corner of each subplot.
When you ask cgdisp to display a mix of 2-D and 3-D images, the region (keyword region) that you specify applies equally to the first two dimensions of all images. However, any third axis region information that you give ( e.g. region=image(10,120)) applies only to the 3-D images, and is ignored for the 2-D image. Finally, if you ask for more sub-plots than can be fitted on the page, then the program will advance to a new page (you will be prompted to hit the carriage return key if your are plotting on an interactive device) when needed.
into velocity-x-y order. You could then look at one or several planes of this cube. Normally, cgdisp tries to display with equal x and y scales. This equality is worked out using the linear axis descriptors. Equal scales are meaningless when displaying unlike axes, so you should set options=unequal.
In this example, we also overlay contours of total intensity. In addition, a global blanking mask is appplied to both images.
cgcurs only displays pixel maps or contour plots, and only one image at a time. You can invoke all of cgcurs ' cursor options in the one run if you wish. You can also display many channels in the same way as cgdisp ; in this case, the cursor options are invoked after each sub-plot (channel) is drawn. The following example shows how to display all pixels in the x direction, but only every third pixel in the y direction (who knows why you might do this), activate the interactive lookup table fiddler, read some image values with the cursor, mark their locations on the plot, and output them into a text file (called `cgcurs.cur') for use as an overlay file in cgdisp . In addition, the option to evaluate some statistics in a region defined by the cursor is also activated.
In the example, we make slices from 9 channels of a cube, one channel at a time. We then fit Gaussians plus a baseline to them and output the fits into a text file.