legend for multi-curves on panel plot

From: H.Dang <danghy_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 08 2013 - 12:50:47 MDT

Hello,

I have got 16 xy-plots on one page by using:

  gsn_panel(wks,plot,(/4,4/),resP)

where plot = new(16,graphic)

Each xy-plot has 3 curves on it. I want to create a legend for these 3
curves using

    xxt= -83
    xx = (/-89,-85/)
    yy = (/220.,220./)
    gsn_polyline(wks,plot(1),xx,yy,res_lines)
    gsn_text(wks,plot(1),txt_T,xxt,220,res_text)

The Y axis for all xy-plots are like:

 res@trYMinF = 20.0
 res@trYMaxF = 230.0

The X axis is latitude from -90 to 90.

The legend on the page is not on the left-top corner of the first plot, but
near its bottom-right corner. When I change 220 to 250, the legend is
missing.

So my question is how to generate one or 16 legends (I only need one for
all 16 xy-plots).

Thank you!

Hongyan

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 8 12:51:36 2013

This archive was generated by hypermail 2.1.8 : Fri Jul 12 2013 - 16:37:39 MDT