Documentation for jbiu/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

plot/

croppedtickmarks.pro


top source croppedtickmarks

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

Modification date: Thu Feb 10 10:50:30 2011
Lines: 35