spedas/gui/display/draw_object/
spd_ui_draw_object__makelinereference.pro
Routines
top source spd_ui_draw_object::makeLineReference
spd_ui_draw_object::makeLineReference, x, y, n, ref=ref, tolerance=tolerance
spd_ui_draw_object method: makeLineReference this routine constructs a reference for legend lookup that has no more than the number of points on the screen times some number to account for pixel-level aliasing. Operation vectorized with value-locate x = clipped abcissa values, normalized to fractions of the total y = clipped data values, with the same number of elements as x n = the number of points requested in the output ref = data returned in named variable tolerance = the distance that a cursor can be from a real data point, before NaNs get filled in. This is a number proportional to the x range.(ex: .01 = 1% tolerance) $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__makelinereference.pro $
Parameters
- x
- y
- n
Keywords
- ref
- tolerance
File attributes
Modification date: | Thu Feb 13 16:41:35 2014 |
Lines: | 26 |