Hello,
A colleague of mine encountered an unexpected behavior when he used the
attribute gsnYRefline along with gsn_csm_xy2 -- one of the two line plots
was shifted by an arbitrary distance.
To illustrate the problem, consider the following code:
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
time=ispan(1,20,1)
x=cos(time)
y=20*cos(time)
wks = gsn_open_wks("x11","xy")
resL = True
resR = True
resR@xyDashPatterns = 1
plot = gsn_csm_xy2(wks,time,x,y,resL,resR)
; If you add the attribute gsnYRefLine, the behavior is unexpected.
resL@gsnYRefLine = 0.0
plot = gsn_csm_xy2(wks,time,x,y,resL,resR)
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Is this a feature or a bug?
NCAR Command Language Version 4.2.0.a032
Operating System (Linux, also encountered the bug on NCL running
on Mac OS:Tiger)
saji
.....
Saji N. Hameed
Assistant Researcher
International Pacific Research Center,
2525 Correa Road, Honolulu, HI 96822
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Tue Sep 20 2005 - 11:02:41 MDT