[Thread Prev][Thread Next][Index]
ppl aline with a time axis
hello ferreters,
I'm facing a problem while drawing a line using ppl aline
along a time axis. ppl aline works for me for any other plot where
there is no time dimension but for a plot with a time axis. As a
simple example to illustrate I try:
set view UPPER
plot/x=0:360 sin(x*3.1415/180)
ppl aline 2,0,0,360,0 ! works
!cancel mode calendar
set view LOWER
def axis/t=01-jan-1998:31-dec-1998:1/units=day tax
let jday = l[gt=tax]
plot sin(jday*3.14/180)
let tt = t[gt=tax]
let t1 = tt[t=01-jan-1998]
let t2 = tt[t=31-dec-1998]
ppl aline, 2, `t1`, 0, `t2`, 0 ! does not work with calendar mode
ppl aline 1,`t2-100`,0.8,`t2-50`,0.8 ! a legend line, similarly does
not work
plot/vs/over/nolab/sym=28/size=0.3/color=red `t1+16`,0 ! works fine
!-> plot/vs/over/nolab/sym=2/size=0.5 35415,0
!set mode calendar
If I switch off the calendar mode I get the dashed line as desired but
not the nice time axis labeling, while putting the symbol works fine
in both calendar and non-calendar modes. Any work around is much
appreciated. Many thanks in advance.
Arindam Chakraborty
------------------------------------------
ARINDAM CHAKRABORTY
Centre for Atmospheric & Oceanic Sciences
Indian Institute of Science
Bangalore 560 012; INDIA
Tel: 091-080-3942505, 091-080-3600450
Fax: 091-080-3600865
__________________________________________
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement