Source: stream/rate/Mag/mag_rate_stream__get_yscale.pro
mag_rate_stream::get_yscale
Return the "natural" Y-scaling for a mag stream.
Usage:
scale = strref -> get_scaling(<keys>)
Keywords:
zero If set, then return zeros rather than NaNs when no
data are present.
sector If set, then return extrema for the sectors
separately.
only If set, then only return extrema for the specified
sector (or NaN if the sector is not present).
positive If set, then use min_nz instead of min to give a
positive-definite range
tickvals A named variable to contain the tick values to use
minor A named variable to contain the number of minor tick
to use.
logarithmic If set then return if this should be plotted
on a log scale (should always be 0).
Notes:
For most streams, this is just a wrapper for the get_extrema
method, with an _extra key swallower.
History:
Original: 10/7/00; SJT
Fix for NaN's in the values: 24/7/01; SJT