next up previous contents index
Next: E.11 Multiple image layout Up: E Sample Plots Previous: E.9 Fitting

E.10 A simple image

viewport 0.25 0.75 0.2 0.9 # Set viewport size.
expand 1.1                 # Set the character size.
font 2                     # Set the font type.
image orion.fits 1         # Read in plane #1.
winadj 0 nx 0 ny           # Set the x/y scale to be the same.
header rd                  # Read header and set limits.
halftone 0 20              # Draw the halftone.
box bcnsthz bcnstvdyzf     # Draw a box.
expand 1.5                 # Make the top label a bit bigger.
mtext T -2 0.15 0 T\dmax
expand 1.1                 # Reset character size.
xlabel \ga (1950)
mtext L 3.5 0.5 0.5 \gd (1950)
wedge RI 0.5 3.0 0 20 BCMV

Contents of the image header file

SIMPLE  =                    T  /
BITPIX  =                  -32  /
NAXIS   =                    2  /
NAXIS1  =                  201  /
NAXIS2  =                  321  /
BSCALE  =    1.00000000000E+00  /
BZERO   =    0.00000000000E+00  /
CDELT1  =   -1.24999992549E-02  /
CROTA1  =    0.00000000000E+00  /
CRPIX1  =    1.61000000000E+02  /
CRVAL1  =    8.32499982901E+01  /
CTYPE1  =           'RA---SIN'  /
CDELT2  =    1.24999992549E-02  /
CROTA2  =    0.00000000000E+00  /
CRPIX2  =    2.41000000000E+02  /
CRVAL2  =   -5.49999969802E+00  /
CTYPE2  =           'DEC--SIN'  /
DATAMIN =        -1.715574E-07  /
DATAMAX =             48.60251  /
END

 
Figure E.10: A basic image, halftone plot, and wedge.



morgan@astro.umd.edu