Re: xcontour and time axis [message #34957] |
Wed, 30 April 2003 06:11 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Christophe JORSSEN (christophe_jorssen@yahoo.fr) writes:
> I keep on trying to have a time axis with xcontour (thanks David for
> your answer to my precedent message). I've found some interesting
> parameters : namely TickUnits and TickInterval that are not so far
> what I wanted.
>
> I've made the fellowing changes to xcontour.pro (www.dfanning.com) :
>
> yAxis1 = Obj_New("IDLgrAxis", 1, Color=[255,255,0], Ticklen=0.05, $
> Minor=3, Title=ytitle, Range=yrange, YCoord_Conv=ys, $
> TickUnits=['Months','Years'],TickInterval=6, $
> Location=[0.2, 1000, 0.0], /Exact);
>
> According to the documentation, my code is OK, but the result is not !
> (http://www.lodyc.jussieu.fr/~cjolod/hoevmuller_x-4.65.jpg)
>
> Do you have any idea why the time axis with years ticks does not have
> the behaviour that one would want ?
You can never really tell with object graphics, but my
personal feeling (after fooling around with this for
15 minutes) is that this is a bug. At the very least, it
appears to be something out of the programmers control.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|