Finds the default limits for a graph axis KPG1_GRLM1
"
Range"
– LIM1 and LIM2 are returned equal to the lowest and highest supplied data values
(including error bars).
"
Extended"
– LIM1 and LIM2 are returned equal to the lowest and highest supplied data values
(including error bars), extended to give a margin of 2.5% of the total data range at each
end.
"
Extended,10,5"
– Like "
Extended"
, except the margins at the two ends are specified as a pair of
numerical value in the second and third elements of the array. These values are percentages of the
total data range. So, "
Extended,10,5"
includes a margin of 10% of the total data range in LIM1, and
5% in LIM2. If only one numerical value is given, the same value is used for both limits.
If no value is given, both limits default to 2.5. "
Range"
is equivalent to "
Extended,0,0"
.
"
Percentiles,5,95"
– The second and third elements of the array are interpreted as percentiles. For
instance, "
Perc,5,95"
causes 5% of the data points (ignoring error bars) to be below LIM1, and 10% to
be above the LIM2. If only 1 value (p1) is supplied, the other one, p2, defaults to (100 - p1). If no values
are supplied, p1 and p2 default to 5 and 95.
"
Sigma,2,3"
– The second and third elements of the array are interpreted as multiples of the standard
deviation of the data values (ignoring error bars). For instance, "
S,2,3"
causes the LIM1 to be the
mean of the data values, minus two sigma, and LIM2 to be the mean plus three sigma. If only 1 value
is supplied, the same value is used for both limits. If no values are supplied, both values default to
3.0.
The above strings can be abbreviated to one character.
If the parameter name is supplied as blank, then "
Extended"
is assumed (i.e. LIM1 and LIM2 are
chosen so that the axis encompasses the entire data range including error bars, with 2.5% margin at
each end).
If only 1 limit is required (i.e. if LIM1 or LIM2 are supplied not equal to VAL__BADR), then only 1 numerical value can be supplied in the above limit descriptions.