Source: stream/rate/rate_stream__get_yscale.pro
rate_stream::get_yscale
Return the "natural" Y-scaling for a rates 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
logarithmic If set, then return whether this is a log or
linear plot
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
Use the yscale values: 11/7/00; SJT
Add logarithmic keyword: 9/10/00