spedas/gui/display/draw_object/
spd_ui_draw_object__makeminorticks.pro
Routines
top source spd_ui_draw_object::makeMinorTicks
spd_ui_draw_object::makeMinorTicks, range, scaling, minorNum, majorValues, majorSpacing, logMinorTickType, minorValues=minorValues, fail=fail
spd_ui_draw_object method: makeMinorTicks This routine takes generates the minor ticks for the z-axis and the xy axes. It does most of the work to guarantee proper spacing of minor ticks on logarithmic axes Inputs: Range: The range of the data values.(log applied, not real) Scaling: The scaling factor used on this axis. (O: Linear, 1: Log10, 2:LogN) MinorNum: The requested number of minor ticks per major tick MajorValues: An array of major tick positions, normalized relative to their respective axis. Minimum 2 major ticks. MajorSpacing: The spacing between major ticks, in normalized units. MinorAuto: Whether automatic minor ticks are being used or not. Outputs: MinorValues: An array of minor tick positions. Not for a single major tick, but for the entire axis. Fail: 0 indicates no fail, 1 indicates fail. If no ticks can fit on axis, failure is indicated. NOTES: Minor ticks will appear to be more evenly spaced the smaller the interval is between ticks on a logarithmic axis. On a non-log axis, they will always be evenly spaced. $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__makeminorticks.pro $
Parameters
- range
- scaling
- minorNum
- majorValues
- majorSpacing
- logMinorTickType
Keywords
- minorValues
- fail
File attributes
Modification date: | Thu Feb 13 16:41:35 2014 |
Lines: | 68 |