CROPPEDTICKMARKS
Name
CROPPEDTICKMARKS
Purpose
This function is used as a plug-in to YTICKFORMAT that
crops a number to the appropriate number of digits. For example,
logarithmic axes might have labels 0.001, 0.01, 0.1, 1, 10.
Category
Plot
Calling Sequence
PLOT, X, Y, /YLOG, YTICKFORMAT='CROPPEDTICKMARKS'
Example
x = [1,2,3,4]
y = [0.02,0.2,2,20]
PLOT, x, y, /YLOG, YTICKFORMAT='CROPPEDTICKMARKS'
Modification History
Written by: Jeremy Bailin, based on Paul van Delst's logticks_exp.
12 June 2008 Public release in JBIU