Re: lgMarkerIndexes

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 21 2012 - 12:59:17 MDT

I added:

   lgres@lgItemType = "MarkLines"

The default is just lines.

Also, you don't want to do this:

  draw(map)
  draw(wks)
  draw(annoid1)

When you call gsn_add_annotation to add the legend to the map, then drawing the map is all you need to do to see the legend.

These are the lines you want:

  draw(map)
  frame(wks)

--Mary

On Jun 21, 2012, at 10:53 AM, Li, Yongzuo wrote:

> Mary,
>
> I used
> lgres@lgMonoMarkerIndex = False
>
> Can you run attached map-marker.ncl ?
>
> Thanks.
>
> Yongzuo
>
>
> From: Mary Haley [haley@ucar.edu]
> Sent: Thursday, June 21, 2012 9:34 AM
> To: Li, Yongzuo
> Cc: ncl-talk@ucar.edu
> Subject: Re: lgMarkerIndexes
>
> Try setting:
>
> res@lgMonoMarkerIndex = False
>
> Any time you use a plural resource like this, it's a good idea to see if you need to set a corresponding "Mono" resource.
>
> For example, if you want to set xyLineColors, then you may need to set xyMonoLineColor = False.
>
> --Mary
>
>
> On Jun 20, 2012, at 4:57 PM, Li, Yongzuo wrote:
>
>> Hi,
>>
>> Attached is the NCL script and output plot.
>>
>> The lgMarkerIndexes does not work.
>>
>> Any suggestion is welcome.
>>
>> Yongzuo
>> <fcst-irene-track-color.ncl><fcst-irene-cslp-color.ps>_______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> <map-marker.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> 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 Jun 21 12:59:25 2012

This archive was generated by hypermail 2.1.8 : Mon Jun 25 2012 - 09:57:23 MDT