projects/themis/spacecraft/particles/slices/
thm_part_slice2d_getticks.pro
Routines
top source thm_part_slice2d_getticks
thm_part_slice2d_getticks, nticks=nticks, range=range, log=log, precision=precision, style=style, tickv=tickv, tickname=tickname, ticks=ticks
Procedure: thm_part_slice2d_getticks Purpose: Helper function for thm_part_slice2d_plot. Return an array of formatted annotation strings to be passed to an IDL plotting procedure through the [xyz]tickname keyword. Input: nticks: (int) # of ticks requested by user (optional) range: (float) two element array specifying axis range log: (bool/int) flag to denote logarithmic axis, this should always be set to avoid persistence of the last axis setting precision: (int) number of significant digits for annotation style: (int) type of numberical annotation (0=auto, 1=decimal, 2=sci) Output: tickname: (string) Array of tick names tickv: (float) Array of tick values ticks: (int) Number of ticks - 1 Notes: - This function should be called after the plot window has been initialized; otherwise, the AXIS procedure will create an extra window. - If the # of ticks is not specified it will be determined by IDL. - Associated tick values are returned via keyword (2013-April) $LastChangedBy: aaflores $ $LastChangedDate: 2014-06-20 18:54:00 -0700 (Fri, 20 Jun 2014) $ $LastChangedRevision: 15403 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/spacecraft/particles/slices/thm_part_slice2d_getticks.pro $
Keywords
- nticks
- range
- log
- precision
- style
- tickv
- tickname
- ticks
File attributes
Modification date: | Tue Oct 21 13:53:35 2014 |
Lines: | 23 |