- Form:STRETCH dest source [VERT] [HORIZ] [SIZE=]
[START=]
-
- dest
- is the number of the image produced by the operation,
- source
- is the number of the spectrum which is being stretched,
- VERT
- specifies that the spectrum will be stretched vertically,
- HORIZ
- specifies that the spectrum will be stretched horizontally,
- SIZE=
- specifies the length of the stretch,
- START=
- specifies the start column or row (for HORIZ or
VERT respectively) of the output image.
The spectrum `source' will be stretched to form the image `dest.' If the
VERT keyword is given the spectrum will be stretched vertically (i.e. the
image `dest' will be constant down each column). If the HORIZ keyword is
specified the spectrum will be stretched horizontally (constant across each
row). The default (if neither keyword is given) is a vertical stretch.
The length of the stretch may be specified with the SIZE= keyword. For
example if the VERT keyword has been specified then the SIZE= keyword will
specify the number of columns in the resulting image. Note that the image
will always have one dimension equal to the number of points in the
`source' spectrum. If a size is not specified the program will try to use
the size of any image already in the specified `dest' buffer. If this is
not possible (i.e. if the appropriate dimension of the image currently in
the `dest' buffer is not equal to the length of the `source' spectrum) the
program will prompt for a size. The START= keyword specifies the start
column or row of the image.
Examples:
- STRETCH 1 3
- Stretches spectrum 3 vertically into image 1.
If image 1 does not exist previous to this command, or if it has a
number of columns not equal to the length of spectrum 3, the user
will be prompted for the number of rows to stretch into image 1.
The vertical stretch will make image 1 constant down each column.
- STRETCH 2 5 HORIZ SIZE=180
- Stretches spectrum 5 horizontally
into image 2, and makes image 2 with 180 columns. Image 2 will
therefore be constant across each row.