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 #19105] Thu, 24 February 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
> Investigate some of the keywords
> that are available for the PLOT command. I would start with
> [XYZ]Tickname, [XYZ]TickV, and maybe [XYZ]Tickformat.

Yeah, and welcome to another planet of hurt. David is right though.
The best solution is to scale your data and then label the axes
yourself. Personally, I think it's actually cleaner to scale your
data by 10^(-39), and then put that in the "units" of your x/ytitle.

I've also encountered the single-precision-plotting problem when I am
plotting numbers with X = X0*(1+d) where d is very small. When d/X0
becomes smaller than about 1 in a million, you can see a noticeable
staircase effect on the plot, since single precision can't preserve
the fidelity. My only solution has been to subtract and rescale the
data.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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 18:11:04 PST 2025

Total time taken to generate the page: 0.87976 seconds