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

Home » Public Forums » archive » Re: IDL plot is inconsistent, where is subtle error?
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: IDL plot is inconsistent, where is subtle error? [message #24948 is a reply to message #24935] Wed, 02 May 2001 13:16 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Lawrence Bleau wrote:
>
> Hello, IDLers. I'm having a very subtle problem with plotting from IDL.
> Either that or IDL is screwed up, which I doubt is the case. First, my
> configuration:
>
> IDL Version 5.2 (vms alpha)
> OpenVMS AXP V7.1-2
>
> I'm plotting a set of values along the Y-axis (log plot), with time being
> on the X-axis. The time is expressed as a double precision floating point
> quantity (created with DBLARR). The time has a base year (time zero) of
> several decades ago, and I can't change this base year, so that's something
> I have to live with. This is called an epoch time. Typical values of an
> epoch time are in the range 357588000.D0. I have a routine that converts
> from epoch time value to normal calendar notation (date and time).

IDL pre-v5.4 (or was it 5.3?) always plots in single precision (regardless if the data is
in double) so you can loose info when your numbers are that big.

What happens if you do a plot but subtract off the first value as an offset, something
like

plot, epoch-epoch[0], values(*,k)

?

paulv

--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
Alexander Pope.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading .xls files
Next Topic: IDL plot is inconsistent, where is subtle error?

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

Current Time: Wed Oct 08 20:10:36 PDT 2025

Total time taken to generate the page: 0.35960 seconds