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

Home » Public Forums » archive » Re: Plotting double precision
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plotting double precision [message #19110 is a reply to message #19105] Thu, 24 February 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Jacques Basson (jfb37@NOSPAM.cam.ac.uk) writes:

> Does anyone know how I can plot double precision values in IDL. The plot
> routine help says:
>
> Plots created with PLOT are limited to the range and precision of
> single-precision floating-point values.
>
> Unfortunaltely, this means that values which do not lie in the
> +-10^(+-38) range can't be easily plotted. Of course as luck would have
> it, my values are of the order 10^(-39), and I'd rather not have factors
> of 10 in my labels. The other option would be to take logs before
> plotting rather than using the /ylog keyword, but I prefer the axis
> label to have the value of the variable, rather than its log.

How you plot the data and how you label the axes are
really two separate issues. They appear causally
connected only because most of us are lazy enough to let
IDL do the labelling from the data. But it doesn't have
to be that way at all. Investigate some of the keywords
that are available for the PLOT command. I would start with
[XYZ]Tickname, [XYZ]TickV, and maybe [XYZ]Tickformat.

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
[Message index]
 
Read Message
Read Message
Previous Topic: Re: width of xyouts?
Next Topic: width of xyouts?

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

Current Time: Tue Dec 02 19:33:48 PST 2025

Total time taken to generate the page: 0.19213 seconds