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 #41823 is a reply to message #41822] Wed, 24 November 2004 13:34 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Haje Korth wrote:
> Mike,
> 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.

I'm not a fan of LABEL_DATE, mainly because it uses a common block, so
there is endless scope for confusing interactions between apparently
unrelated graphs. I think that it is much simpler and safer to use the
C() calendar-format codes directly in your axis's TICKFORMAT string. You
will need to convert your time data to Julian Days, but how hard is that?

--
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
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: Sat Oct 11 08:13:23 PDT 2025

Total time taken to generate the page: 1.03966 seconds