comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: control precision for the axis ticks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: control precision for the axis ticks [message #19628] Tue, 11 April 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Avoiding a for cicle
Next Topic: control precision for the axis ticks

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:37:11 PDT 2025

Total time taken to generate the page: 0.00413 seconds