plot/
croppedtickmarks.pro
topcroppedtickmarks
Plot
result = croppedtickmarks(axis, index, value)
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.
Parameters
- axis
- index
- value
Examples
x = [1,2,3,4]
y = [0.02,0.2,2,20]
PLOT, x, y, /YLOG, YTICKFORMAT='CROPPEDTICKMARKS'
Author information
| History: | Written by: Jeremy Bailin, based on Paul van Delst's logticks_exp. 12 June 2008 Public release in JBIU |
File attributes
| Modifcation date: | Fri Jun 13 11:11:45 2008 |
| Lines: | 35 |
![[attach.png]](../idldoc-resources/attach.png)