[Thread Prev][Thread Next][Index]

Re: Plotting a constant line on a time series plot




Mick's solution works like a charm!

Here's exactly how I instantiated it:
!
go margins 0.8 0.8 1.0 0.2
plot/set/nolabel sst1,sst2,sst3,sst4,sst5
ppl txlsze 0.08
ppl plot
!
let ncep = 17.82 ; let str = 17.93 ; let csm = 18.17 ; let lev = 18.39
let xlev=if(l eq 1)then (`($XAXIS_MIN)`) else (`($XAXIS_MAX)`)
let yncep=ncep+l-l ; let ystr=str+l-l ; let ycsm=csm+l-l ; let ylev=lev+l-l
plot/o/nolab/line=1/vs/l=1:2 xlev,yncep,ystr,ycsm,ylev
!
label/nouser 0.0 7.75 -1 0 0.15 @DRSea surface temperature
label `($PPL$XMIN1)` `ncep` -1 0 0.1 @ASNCEP
label `($PPL$XMIN1)` `str`  -1 0 0.1 @ASSTR
label `($PPL$XMIN1)` `csm`  -1 0 0.1 @ASCSM
label `($PPL$XMIN1)` `lev`  -1 0 0.1 @ASLEV
frame/file=sst.gif

Thanks, Mick!
--
Gary Strand               Climate Change Research Section, NCAR (303) 497-1336
strandwg@ucar.edu                         http://www.cgd.ucar.edu/ccr/strandwg


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement