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

Home » Public Forums » archive » Re: two issues with julian dates
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: two issues with julian dates [message #54807 is a reply to message #54806] Thu, 12 July 2007 12:32 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Josh writes:

> First of all, thank you educating me about this. I read a number of
> your articles on the precision of numbers, and I've finally got the
> double precision values I was seeking. However, when I try to put
> them on an x-axis, they appear to revert back to single precision
> values. The array of values are definitely double precision, and I
> set xtickformat='(F20.5)', but sadly the labels appear to be (single)
> floats disguised in the F20.5 format, and the data being plotted is
> clumped into groups instead of nice and continuous (perhaps because it
> sees big gaps in the x values due to their single precision?). I am
> hoping this is a minor step I've missed in the keywords to PLOT.

Are your sure your X values are double precision? (And not
double precision, which were converted from floats, as the
article you read warned you about.)

Can I see how you create these values?

As far as I know, IDL stores axes values in double precision
always since about IDL 5.4.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLgrAxis determining character dimensions
Next Topic: Array concatenation

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

Current Time: Fri Oct 10 21:37:08 PDT 2025

Total time taken to generate the page: 0.64001 seconds