[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: control precision for the axis ticks
- Subject: Re: control precision for the axis ticks
- From: davidf(at)dfanning.com (David Fanning)
- Date: Tue, 11 Apr 2000 10:08:06 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <38f33f24$0$26043@news.execpc.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19210
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