Re: how to fill the map?

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Wed, 16 Sep 2009 09:03:50 -0600

Xufuang,

Please try:
   res1_at_mpFillOn = True
   res1_at_mpFillColor = "LightGray"
   res1_at_mpLandFillColor = "gray75"

Wei Huang
huangwei_at_ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Sep 16, 2009, at 3:05 AM, Xuguang Sun wrote:

> Dear everyone,
>
> I want to fill the land with specified color "LightGray" by setting
>
>
> colors = (/"white","black","magenta","transparent"/)
> gsn_define_colormap(wks, colors)
>
> res1_at_mpFillOn = True
> res1_at_mpFillColor = "LightGray"
> res1_at_mpMonoFillColor = True
>
> but the land isn't filled with "LightGray" color. However, if I add
> "LightGray" to the colors, i.e.,
> colors = (/"white","black","magenta","transparent","LightGray"/)
>
> the whole map including water and land is filled with "LightGray".
>
> Therefore, it seems that the color assigned to res1_at_mpFillColor
> should appear in colormap, right? but how can I just fill the land
> with the specified color? Thanks.
>
>
> Xuguang
>
>
>
>
>
>
>
> ___________________________________________________________
> 好玩贺卡等你发,邮箱贺卡全新上线!
> http://card.mail.cn.yahoo.com/
> _______________________________________________
> 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 Wed Sep 16 2009 - 09:03:50 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 12:58:13 MDT