RE: [ncl-talk] Legend problem

From: Li, Yongzuo <yongzuo.li_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 06 2010 - 18:24:14 MST

Mary,

I made it.
ftp://ftp.caps.ou.edu/users/yli/ike-track.pdf

Your script is a good example to write ncl script neatly.
It is archived.

Thanks.

Yongzuo
________________________________________
From: Mary Haley [haley@ucar.edu]
Sent: Wednesday, January 06, 2010 5:47 PM
To: Li, Yongzuo
Cc: ncl-talk USERS
Subject: Re: Legend problem

Dear Youngzuo,

You can't turn on legends for a map automatically. You need to use
gsn_create_legend and gsn_add_annotation to create the legend and
then attach it to the plot.

See the attached NCL script and PNG image. (I removed some of your
resource settings just to simplify the script. You can certainly put
the resource settings back in.)

Would it be okay if I add this example to our "annotations" page at:

http://www.ncl.ucar.edu/Applications/annotate.shtml

?

--Mary
Received on Wed Jan 6 18:24:58 2010

This archive was generated by hypermail 2.1.8 : Tue Jan 12 2010 - 15:38:20 MST