Mary,
It (lgres_at_lgItemType = "MarkLines") works fine.
Yongzuo
________________________________________
From: Mary Haley [haley_at_ucar.edu]
Sent: Thursday, June 21, 2012 1:59 PM
To: Li, Yongzuo
Cc: ncl-talk_at_ucar.edu
Subject: Re: lgMarkerIndexes
I added:
lgres_at_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_at_lgMonoMarkerIndex = False
>
> Can you run attached map-marker.ncl ?
>
> Thanks.
>
> Yongzuo
>
>
> From: Mary Haley [haley_at_ucar.edu]
> Sent: Thursday, June 21, 2012 9:34 AM
> To: Li, Yongzuo
> Cc: ncl-talk_at_ucar.edu
> Subject: Re: lgMarkerIndexes
>
> Try setting:
>
> res_at_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
Received on Thu Jun 21 13:05:41 2012
This archive was generated by hypermail 2.1.8 : Mon Jun 25 2012 - 09:57:23 MDT