[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: control precision for the axis ticks



pei zeng (pei@prism-cs.com) writes:

> We are using object graph to plot data, and some of them have values range
> from  1e+14  to 1e+17. IDL calculated the tick values and displayed them
> like this 1.00000000x10^14( in /LOG), which make the graph messy and ugly.
> Can I control the precision so it can look something like 1.00x10^14?

I presume you can do whatever you like with the TickFormat keyword,
providing either a specific format string or the name of a function
that will do the formatting for you.

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155