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 #43981 is a reply to message #43980] Fri, 06 May 2005 15:59 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Ben Tupper" <btupper@bigelow.org> wrote in message
news:3e1v3mFpoabU1@individual.net...
...
> Hmmm.
>
> Thanks anyway,
> Ben


this seems close, although one tick mark looks off :(

-bob

n = 360
t = TIMEGEN(n, start = JULDAY(1,1,2005), STEP_SIZE = 7)
y1 = RandomN(seed, n)
y2 = RandomN(seed, n)

p1 = [0.1, 0.5, 0.9, 0.9]
p2 = [0.1, 0.1, 0.9, 0.5]

Window,0

v = 0

PLOT, t, y1, color=0,$
Title = "junk plot - "+ $
" ", $
POSITION = p1, $
XSTYLE = 1, $
XTICKUNITS = ['Months', 'Years'], $
XTICKINTERVAL = 4, $
XMINOR = 4,$
xticklen = .05,charsize = 0.001,xtick_Get=v
erase

PLOT, t, y1, $
Title = "Ticks matched i think - "+ $
"no annotation in middle", $
POSITION = p1, $
xminor=4,$
XSTYLE = 1, $
xtickname=blank_string(60),$
xticklen = .1,charsize = 1,$
xtick_Get=v2,$
xticks = n_elements(v)-1,$
xtickv=v


PLOT, t, y1, $
NOERASE = 1, $
POSITION = p2, $
XSTYLE = 1, $
XTICKUNITS = ['Months', 'Years'], $
XTICKINTERVAL = 4, $
XMINOR = 4


end
[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: Tue Oct 28 08:28:42 PDT 2025

Total time taken to generate the page: 1.51987 seconds