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

Home » Public Forums » archive » Re: plotting with respect to time
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 with respect to time [message #35760 is a reply to message #35750] Tue, 08 July 2003 14:50 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Megan" <msgentry@unity.ncsu.edu> wrote in message
news:3f101107.0307080817.2e44fda7@posting.google.com...
> I'm having some trouble making graphs in IDL. I have a program where I've
> calculated a growth rate of a quantity for certain intervals of time.
> I'm trying to graph my results now. Basically I have two arrays, one with
> the growth rates and the other with the julian times corresponding to
them.
> The interval between measurements is a few minutes, and it is
> irregular. Is there a certain plot function or command that will allow me
> to plot my results with regular times as the x-axis labels.
> Ideally, since the measurements are every few minutes, I'd like to have it
> with the hour, minute, and second along the x-axis of the graph.
> Thanks for your help,

I recommend you check out the C() (calendar) format codes. In IDLDE, type
"?format codes".

With intervals of a few minutes you will need to ensure that your time data
are in double precision and are plotted that way. IDL has supported
double-precision plotting for a few versions now. In Direct Graphics all you
need to do to activate it (I think) is to supply double-precision data. In
Object Graphics, your IDLgrView needs to have the DOUBLE keyword set.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: object graphics -> eps
Next Topic: Speed test on Mac G5, anyone?

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

Current Time: Sun Oct 12 07:20:45 PDT 2025

Total time taken to generate the page: 0.80127 seconds