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

Home » Public Forums » archive » Longword plotting problems...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Longword plotting problems... [message #11982] Mon, 22 June 1998 00:00 Go to previous message
Geraint H. Jones is currently offline  Geraint H. Jones
Messages: 1
Registered: June 1998
Junior Member
Hi,

I'd be glad of any help with this...

I'm handling data files (well, trying to!) in which the time is recorded
as the number of seconds since the beginning of 1950 (I know it's not
the easiest format to deal with, but it's what I have to work with). In
order to get precision to the level of seconds, I have to use longword
arrays.

This is all fine, but the problem is plotting using the longword arrays.
Whatever plot ranges I choose, the time values in the plots are
quantized, i.e. they do not increase smoothly, even though the values
in the array itself increase smoothly. I've attached a short piece of
example code below to demonstrate this...

I know I can get around this by converting the times to other units, but
I'd really like a solution which would let me use seconds since 1950.0.

(I'm running IDL Version 5.0 (sunos sparc)).

Thanks for any help,
Geraint Jones

; Example code

time=lindgen(10)+13254100

data=findgen(10)

plot,time,data

; Just to show that time should increase smoothly in the plot

print,time
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: outputing ascii
Next Topic: Re: Problems with CW_FSLIDER

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

Current Time: Wed Oct 08 15:34:34 PDT 2025

Total time taken to generate the page: 0.00430 seconds