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

Home » Public Forums » archive » Re: Tick labels and 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: Tick labels and dates [message #41838 is a reply to message #41834] Tue, 23 November 2004 14:01 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:

> you want to look at the examples given for the LABEL_DATE function. It
> assumes that you have time array as Julian day. If you don't (and who does)
> you will have to do your own conversion. I keep my time usually as CDF
> epoch, so I wrote myself a little function that converts CDF epoch first to
> year, month, day, hh, mm, ss with cdf_epoch and then use julday to calculate
> the julian day from these data. Now conversion is pretty much transparent
> without having to worry what Julian day means. LABEL_DATE is pretty flexible
> in the date format and you can easily switch between the formats you like.
> AFAIK, there is no other build-in functionality for time axis.

There are some good time and date functions on the JHUAPL
IDL library site, too. I'm too jet lagged to remember what
they are right now (and too unmotivated to look), but a
search of the one line catalog file should turn them up.

http://fermi.jhuapl.edu/s1r/idl/s1rlib/local_idl.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image Segmentation
Next Topic: Image Segmentation

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

Current Time: Thu Oct 09 17:23:17 PDT 2025

Total time taken to generate the page: 0.20042 seconds