statlim(3m)

NAME
statlim - Set or return a string with the current limits

SYNOPSIS
[lim, str] = statlim(mode, lim, vars, stat )

DESCRIPTION
Set, update or display the current limits used for statistics. The limit array is described in stat(5m).

PARAMETERS

mode
    Mode for updating limit array. If mode is -1,the limits for the variables specified in vars are set to [-Inf,+Inf,0]. If mode is 0,the limits for the variables specified in vars are set to [min,max,1],where min and max are taken from the statistics array stat. If mode is +1,the limits are set to the specified values listed in vars,in which case vars is an array with the following columns: variable number minimal value maximal value limit mode

lim Limit array to be updated or displayed.

vars optional
    If mode is -1 or 0,vars is a vector with the line indexes to the variables whose limits should be updated. If mode is +1,it is an array as described above. If empty,the limit array is returned as is together with the limit string.

stat
    This parameter is required if mode is 0.

RETURNS

lim The updated limit array

str optional
    A formatted string specifying updated limits.

SEE ALSO
flagdata(3m)stat(5m)statcalc(3m)statinit(3m)statlim(3m)stat_str(3m)statupd(3m)

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999