Re: gsn_csm_xy2

From: Xin Xi <xxi_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 14 2013 - 15:05:30 MDT

Thanks Adam. I have figured it out - it should be:
dataspec = NhlAddData(plot,"xyCoordData",
dataid) , instead of plot@xy2.

On Thu, Mar 14, 2013 at 12:15 PM, Adam Phillips <asphilli@ucar.edu> wrote:

> Hi Xin,
> I have not tested this, but I think you can change this:
> "caYArray": p1
> to this:
> "caYArray": t1
>
>
> and then change this:
> dataspec = NhlAddData(plot@xy2,"xyCoordData",dataid) ; Set some resources
> for new curve.
> setvalues dataspec
> "xyLineColor" : resL@xyLineColor
> "xyLineThicknessF" : resL@xyLineThicknessF
> "xyDashPattern" : 7
> end setvalues
> to this:
> dataspec = NhlAddData(plot@xy,"xyCoordData",dataid) ; Set some resources
> for new curve.
> setvalues dataspec
> "xyLineColor" : resL@xyLineColor
> "xyLineThicknessF" : resL@xyLineThicknessF
> "xyDashPattern" : 7
> end setvalues
>
> If that doesn't work please respond to the ncl-talk email list..
> Adam
>
>
>
>
> On 03/13/2013 11:10 PM, Xin Xi wrote:
>
> Hello,
> I am following this example to make a xy plot with two Y axis:
> http://www.ncl.ucar.edu/Applications/Scripts/xy_25.ncl
> How do I have two lines using left Yaxis (example shows for right Yaxis)?
> Thanks.
> Xin
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> --
> ______________________________________________________________
> Adam Phillips asphilli@ucar.edu
> NCAR/Climate and Global Dynamics Division (303) 497-1726
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-tal<http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 14 15:05:59 2013

This archive was generated by hypermail 2.1.8 : Tue Mar 19 2013 - 16:31:18 MDT