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

Home » Public Forums » archive » Using TICKINTERVAL with LABEL_DATE in object_graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Using TICKINTERVAL with LABEL_DATE in object_graphics [message #64951] Mon, 02 February 2009 10:30
dcleon@gmail.com is currently offline  dcleon@gmail.com
Messages: 12
Registered: November 2007
Junior Member
Just wasted more time than I care to mention figuring out how to
control the tick spacing using TICKINTERVAL in conjunction with
LABEL_DATE. Hopefully, I can save somebody else the same thrash --
either that or somebody can point out that what I think I've figured
out is total bunk.

Per IDL's documentation, TICKINTERVAL is used to set the spacing
between tickmarks. What they fail to mention is that (when used with
LABEL_DATE and TICKUNITS = 'TIME') that the units of the spacing
between tickmarks change depending on the axis interval. If the
elapsed time over the plot range is:
<= 60 seconds, then TICKINTERVAL is in
seconds.
> 60s seconds, but <= 60 min TICKINTERVAL is in minutes
> 60 min, but <= 24 Hours, then TICKINTERVAL is in hours
> 24 Hours, but < 1 month, then TICKINTERVAL is in days
(I'm not sure how this works given the varying # of days in a month).
.... (I assume the behavior continues to be consistent for
months and years, but I've wasted too much time on this already to
bother verifying).

Perhaps this is spelled out clearly somewhere in the IDL
documentation, but I sure never found it.

Cheers
dave
[Message index]
 
Read Message
Previous Topic: Re: set map information ERROR, help ,please
Next Topic: Iso-contours at maximum/minimum levels

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

Current Time: Sat Oct 11 10:42:12 PDT 2025

Total time taken to generate the page: 0.64368 seconds