Plots a two-dimensional vector map VECPLOT
The plot is produced within the current graphics database picture, and may be aligned with an existing DATA picture if the existing picture contains suitable co-ordinate Frame information (see Parameter CLEAR).
Annotated axes can be produced (see Parameter AXES), and the appearance of these can be controlled in detail using Parameter STYLE. The axes show co-ordinates in the current co-ordinate Frame of NDF1.
A key to the vector scale can be displayed to the right of the vector map (see Parameter KEY). The appearance and position of this key may be controlled using Parameters KEYSTYLE and KEYPOS.
[0.0]
[
current value]
TRUE
if labelled and
annotated axes are to be drawn around the vector map. These display co-ordinates in
the current co-ordinate Frame NDF1, which may be changed using application
WCSFRAME (see also Parameter USEAXIS). The width of the margins left for the
annotation may be controlled using Parameter MARGIN. The appearance of the axes
(colours, founts, etc.) can be controlled using the STYLE parameter. [TRUE]
TRUE
if the graphics device is to be cleared before
displaying the vector map. If you want the vector map to be drawn over the top of
an existing DATA picture, then set CLEAR to FALSE
. The vector map will then
be drawn in alignment with the displayed data. If possible, alignment occurs
within the current co-ordinate Frame of the NDF. If this is not possible (for
instance, if suitable WCS information was not stored with the existing DATA
picture), then alignment is attempted in PIXEL co-ordinates. If this is not
possible, then alignment is attempted in GRID co-ordinates. If this is not
possible, then alignment is attempted in the first suitable Frame found in the NDF
irrespective of its domain. A message is displayed indicating the domain in which
alignment occurred. If there are no suitable Frames in the NDF then an error is
reported. [TRUE]
"Data"
, "Error"
or "Variance"
.
The last two are not available if NDF1 does not contain a VARIANCE component.
The vector orientations are always defined by the "Data"
component of NDF2.
["Data"]
[
Current graphics
device]
TRUE
, the smaller dimension of the picture is expanded to produce the
largest possible picture within the current picture. [FALSE]
"Centre"
–- the vectors are drawn centred on the corresponding pixel,
"Start"
–- the vectors are drawn starting at the corresponding pixel, and
"End"
–- the vectors are drawn ending at the corresponding pixel.
["Centre"]
TRUE
if a key indicating the vector scale is to
be produced. [TRUE]
0.0
for no gap, 1.0
for the largest gap). The second
value gives the vertical position of the top of the key (1.0
for the highest position,
0.0
for the lowest). If the second value is not given, the top of the key is placed
level with the top of the vector map. Both values should be in the range 0.0 to
1.0. If a key is produced, then the right-hand margin specified by Parameter
MARGIN is ignored. [
current value]
A comma-separated list of strings should be given in which each string is either an
attribute setting, or the name of a text file preceded by an up-arrow character
""
.
Such text files should contain further comma-separated lists which will be read and
interpreted in the same manner. Attribute settings are applied in the order in which
they occur within the list, with later settings overriding any earlier settings given
for the same attribute.
Each individual attribute setting should be of the form:
name=value
where name
is the name of a plotting attribute, and
value
is the value to assign to the attribute. Default values will be used for any
unspecified attributes. All attributes will be defaulted if a null value (!
)–-the
initial default–-is supplied. To apply changes of style to only the current invocation,
begin these attributes with a plus sign. A mixture of persistent and temporary style
changes is achieved by listing all the persistent attributes followed by a plus sign
then the list of temporary attributes.
See Section E for a description of the available attributes. Any unrecognised attributes are ignored (no error is reported).
The appearance of the text in the key is controlled using String attributes (e.g.
Colour(Strings), Font(Strings); the synonym Text can be used in place of Strings). Note, the
Size attribute specifies the size of key text relative to the size of the numerical
labels on the vector-map axes. Thus a value of 2.0
for Size will result in text which is
twice the size of the numerical axis labels. The appearance of the example vector is
controlled using Curve attributes (e.g. Colour(Curves); the synonym Vector can be used in
place of Curves). The numerical scale value is formatted as an axis-1 value (using
attributes Format(1), Digits(1), etc; the synonym Scale can be used in place of the value
1). The length of the example vector is formatted as an axis-2 value (using
attribute Format(2), etc; the synonym Vector can be used in place of the value 2).
The vertical space between lines in the key can be controlled using attribute
TextLabGap. A value of 1.0
is used if no value is set for this attribute, and
produces default vertical spacing. Values larger than 1.0 increase the vertical
space, and values less than 1.0 decrease the vertical space. [
current value]
!
) value is supplied, the value used is generated on
the basis of the spread of vector lengths in the plot. [!]
!
) value is supplied,
the value used is 0.15
(for all edges) if annotated axes are being produced,
and zero otherwise. See also Parameter KEYPOS. [
current value]
"Radians"
(case
insensitive). The positive y pixel axis defines zero orientation, and rotation from
the x pixel axis to the y pixel is considered positive. !
) value is supplied, the value used gives about thirty vectors along the
longest axis of the plot. [!]
A comma-separated list of strings should be given in which each string is either an
attribute setting, or the name of a text file preceded by an up-arrow character
""
.
Such text files should contain further comma-separated lists which will be read and
interpreted in the same manner. Attribute settings are applied in the order in which
they occur within the list, with later settings overriding any earlier settings given
for the same attribute.
Each individual attribute setting should be of the form:
name=value
where name
is the name of a plotting attribute, and
value
is the value to assign to the attribute. Default values will be used for any
unspecified attributes. All attributes will be defaulted if a null value (!
)–-the
initial default–-is supplied. To apply changes of style to only the current invocation,
begin these attributes with a plus sign. A mixture of persistent and temporary style
changes is achieved by listing all the persistent attributes followed by a plus sign
then the list of temporary attributes.
See Section E for a description of the available attributes. Any unrecognised attributes are ignored (no error is reported).
The appearance of the vectors is controlled by the attributes Colour(Curves),
Width(Curves), etc. (the synonym Vectors may be used in place of Curves). [
current value]
!
) value is supplied, a default value is used. [!]
Its integer index within the current Frame of the input NDF (in the range 1 to the number of axes in the current Frame).
Its Symbol string such as "RA"
or "VRAD"
.
A generic option where "SPEC"
requests the spectral axis, "TIME"
selects the time axis,
"SKYLON"
and "SKYLAT"
picks the sky longitude and latitude axes respectively. Only
those axis domains present are available as options.
A list of acceptable values is displayed if an illegal value is supplied. If a null (!
)
value is supplied, the axes with the same indices as the two significant NDF pixel axes
are used. [!]
If no Title is specified via the STYLE parameter, then the TITLE component in NDF1 is used as the default title for the annotated axes. Should the NDF not have a TITLE component, then the default title is instead taken from current co-ordinate Frame in NDF1, unless this attribute has not been set explicitly, whereupon the name of NDF1 is used as the default title.
The application stores a number of pictures in the graphics database in the following order: a FRAME picture containing the annotated axes, vectors, and key; a KEY picture to store the key if present; and a DATA picture containing just the vectors. Note, the FRAME picture is only created if annotated axes or a key has been drawn, or if non-zero margins were specified using Parameter MARGIN. The world co-ordinates in the DATA picture will be pixel co-ordinates. A reference to NDF1, together with a copy of the WCS information in the NDF are stored in the DATA picture. On exit the current database picture for the chosen device reverts to the input picture.
Only real data can be processed directly. Other non-complex numeric data types will undergo a type conversion before the vector plot is drawn.
Bad pixels and quality masking are supported.