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 #54806 is a reply to message #54804] Thu, 12 July 2007 12:51 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.

The more I think about this, the more likely it seems to me
that the problem comes from converting doubles to strings.
Have you read this article?

http://www.dfanning.com/misc_tips/dbl_to_str.html

You might well have to write your own tick formatting function
to make this work the way you want it to work. It's just hard
to tell without seeing what you are doing.

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: Sat Oct 11 11:22:53 PDT 2025

Total time taken to generate the page: 1.12114 seconds