Hi Ben,
You must use gsn_add_polyline to draw polylines when paneling, as
gsn_polyline will not work with panel plots.
Take a look at:
http://www.ncl.ucar.edu/Applications/polyg.shtml
Examples 4 and 6 show how to use gsn_add_polyline
Good luck,
Adam
Benjamin Lamptey wrote:
> Hello,
> I should be grateful if someone could tell how to add a polyline to each member in
> my panel plot.
>
> The following meant for the first member in the panel does not work. The polyline is
> drawn across the whole page.
>
> plot(0) = gsn_csm_xy(wks,x1,y1,res)
> gsn_polyline(wks,plot(0),x1,x1,res_lines)
>
> Note I am drawing a 1 to 1 line on a scatter plot.
>
> Thanks
> Ben
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Apr 21 2006 - 16:08:01 MDT
This archive was generated by hypermail 2.2.0 : Mon Apr 24 2006 - 09:06:30 MDT