spedas/gui/display/draw_object/
spd_ui_draw_object__getrange.pro
spd_ui_draw_object method: getRange Calculates the range of a sequence. Based upon axis settings and the set of traces in the panel. This calculation is symmetric across the x/y axes. Inputs: dataPtrs(array of ptrs to arrays): List of pointer to data quantities for which range is calculated axisSettings(object reference): The spd_ui_axis_settings object for this panel. mirror(array of ptrs to arrays, optional): List of pointers to mirror data quantities. Should have same number of elements as dataPtrs, and really only makes sense when used with the y-axis isspec: needed to catch a particular special case for spectrograms Outputs: range(2 element double): The determined range scaling(long): The scaling mode: 0(linear),1(log10),2logn istime(boolean): Returns the isTime flag from the axis being queried fail(boolean): 1 on fail, 0 on success errmsg: a struct describing an error that has occurred. Note that this only exists for some particular errors where it is necessary to pass the error information up to the calling routine. fail=1 does not guarantee the existance of errmsg and vice versa. $LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/display/draw_object/spd_ui_draw_object__getrange.pro $
Routines
top source spd_ui_draw_object::getRange
spd_ui_draw_object::getRange, dataptrs, axisSettings, mirror=mirror, scaling=scaling, range=range, istime=istime, fail=fail, center=center, errmsg=errmsg, isspec=isspec
Parameters
- dataptrs
- axisSettings
Keywords
- mirror
- scaling
- range
- istime
- fail
- center
- errmsg
- isspec
File attributes
Modification date: | Thu Feb 13 16:41:36 2014 |
Lines: | 176 |