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

Home » Public Forums » archive » Re: suppression of time axis annotation
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: suppression of time axis annotation [message #43993 is a reply to message #43986] Fri, 06 May 2005 08:24 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1ce52bfb5be9076c9899f4@news.frii.com...
>
...
> Humm, this does what you want:
>
> Window,1
> PLOT, t, y1, $
> Title = "Ticks unmatched - " + $
> "but annotation is suppressed in middle", $
> POSITION = p1, $
> XSTYLE = 1, $
> XTICKINTERVAL = 4, $
> XMINOR = 4
> XTICKFORMAT='(A0)'
> PLOT, t, y2, $
> NOERASE = 1, $
> POSITION = p2, $
> XSTYLE = 1, $
> XTICKUNITS = ['Months', 'Years'], $
> XTICKINTERVAL = 4, $
> XMINOR = 4
>
> But on my output it looks like someone has gone in there
> with a magic marker and scribbled all over the left side
> of the plot. Do you see that, too?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/


I see the scribbling too. It is the julian day number being printed out
repeatedly
over itself many times.
Are you are missing a ",$" at the end of xminor=4 in the first plot?
The xtickformat is not being set.
However, that does not seem to make a difference.

Back to the original question, suppressing tickmarks.
You can set the length to be very small.
xticklen = 0.001
I don't know if that helps. But you can put it in your (Ben's) second
example
and the ugly unmatched tickmarks go away.

As a guess, I think the tickmarks when using xtickunits=['month', 'year']
are
in units of months. (i.e. you are set to 4 months as xtickinterval].
Perhaps that does not
translate to days, since a month can have different days.
If you drop the xtickunits name, and replace the xtickinterval with the
appropriate
days (i.e. xtickinterval = 4*30) it still does not line up.


Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Using write_csv_data
Next Topic: Possible Mac OS Bug with FIX.

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

Current Time: Mon Oct 27 18:19:30 PDT 2025

Total time taken to generate the page: 3.36291 seconds