spedas/gui/display/draw_object/
spd_ui_draw_object__placemajorticks.pro
Routines
top source spd_ui_draw_object::placeMajorTicks
spd_ui_draw_object::placeMajorTicks, isTime, range, scaling, majorTickAuto, autoTicks, numMajorTicks, firstTickAt, majorTickSpace, majorTickValues=majorTickValues, majorTickInterval=majorTickInterval, minorTickNum=minorTickNum, logMinorTickType=logMinorTickType, ticksFixed=ticksFixed, fail=fail
spd_ui_draw_object method: placeMajorTicks Determines where to place the tick marks for an axis, and deals with the various input validation issues and positioning options. If they are placed automatically, They should be at human readable values, if possible. In this case human readable means that if the axis is non time, the ticks will be at values of 1*10^n or 2*10^n or 5*10^n where n is some number appropriate to the scale of the axis If the axis is a time axis the ticks will be at 1,2,5 * 10^n or 60*1,2,5*10^n or 60*60*1,2,5*10^n or 24*60*60*1,2,5*10^n With selection/n dependent on scale $LastChangedBy: pcruce $ $LastChangedDate: 2014-06-25 17:47:00 -0700 (Wed, 25 Jun 2014) $ $LastChangedRevision: 15444 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/display/draw_object/spd_ui_draw_object__placemajorticks.pro $
Parameters
- isTime
- range
- scaling
- majorTickAuto
- autoTicks
- numMajorTicks
- firstTickAt
- majorTickSpace
Keywords
- majorTickValues
- majorTickInterval
- minorTickNum
- logMinorTickType
- ticksFixed
- fail
File attributes
Modification date: | Tue Oct 21 13:53:41 2014 |
Lines: | 107 |