Displays a scatter plot between data in two NDFs SCATTER
The supplied arrays may be compressed prior to display (see Parameter COMPRESS). This reduces the number of points in the scatter plot, and also reduces the noise in the data.
The Pearson correlation coefficient of the displayed scatter plot is also calculated and displayed, and written to output Parameter CORR.
A linear fit to the data can be calculated and displayed (see Parameter FIT).
TRUE
if labelled and annotated axes are to be drawn around the plot. 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 Parameter
STYLE. The dynamic default is TRUE
if CLEAR is TRUE
, and FALSE
otherwise. []
TRUE
the current picture is cleared before the plot is drawn. If
CLEAR is FALSE
not only is the existing plot retained, but also an attempt is made
to align the new picture with the existing picture. Thus you can generate a
composite plot within a single set of axes, say using different colours or modes to
distinguish data from different datasets. [TRUE]
"Data"
,
"Quality"
, "Variance"
, or "Error"
(where "Error"
is an alternative to "Variance"
and
causes the square root of the variance values to be displayed). If "Quality"
is
specified, then the quality values are treated as numerical values (in the range 0
to 255). ["Data"]
"Data"
, "Quality"
, "Variance"
, or
"Error"
(where "Error"
is an alternative to "Variance"
and causes the square
root of the variance values to be displayed). If "Quality"
is specified, then
the quality values are treated as numerical values (in the range 0 to 255).
["Data"]
[1]
!
) is supplied no plot will be made. [
current graphics device]
TRUE
, then a linear fit to the scatter points
is added to the plot. The slope and offset of this fit is displayed on the
screen and written to output Parameters SLOPE, OFFSET, and RMS. A symmetric
linear-fit algorithm is used, which caters for the presence of noise in both
and
values. Outliers are identified and ignored. Note, the fit is based on just
those points that are visible in the scatter plot. Points outside the bounds
of the plot are ignored. Points that are inside the plot are also ignored if
their reflection through the best-fit line are outside the plot. This avoids
biasing the fit if the plot bounds omit more points on one side of the line
than the other. [
current value]
!
) value is supplied, the value used is 0.15
(for all
edges) if annotated axes are produced, and zero otherwise. [
current value]
0
gives a box, 1
gives a dot, 2
gives a cross, 3
gives
an asterisk, 7
gives a triangle. The value must be larger than or equal to
31.
[
current value]
[5,95]
would result in the lowest and
highest 5% of the data value in IN1 being excluded from the plot if the default
values are accepted for XLEFT and XRIGHT. [
current value]
[5,95]
would result in the lowest and highest 5% of the data value
in IN2 being excluded from the plot if the default values are accepted for
YBOT and YTOP. [
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 markers is controlled by Colour(Markers), Width(Markers), etc. (the
synonym Symbols may be used in place of Markers). [
current value]
!
) value is suplied, the value used is determined by Parameter PERC1. The value
supplied may be greater than or less than the value supplied for XRIGHT. [!]
!
) value is suplied, the value used is determined by Parameter PERC1.
The value supplied may be greater than or less than the value supplied for XLEFT. [!]
!
) value is suplied, the value used is determined by Parameter
PERC2. The value supplied may be greater than or less than the value supplied
for YTOP. [!]
!
) value is suplied, the value used is
determined by Parameter PERC2. The value supplied may be greater than or less
than the value supplied for YBOT. [!]
TRUE
. TRUE
. TRUE
. Any pixels that are bad (after any compression) in either array are excluded from the plot, and from the calculation of the default axis limits
The application stores two pictures in the graphics database in the following order: a FRAME picture containing the annotated axes and data plot, and a DATA picture containing just the data plot. Note, the FRAME picture is only created if annotated axes have been drawn, or if non-zero margins were specified using Parameter MARGIN. The world co-ordinates in the DATA picture will correspond to data value in the two NDFs.
Processing of bad pixels and automatic quality masking are supported.
Only _REAL data can be processed directly. Other non-complex numeric data types will undergo a type conversion before processing occurs.