how to fill the map?

From: Xuguang Sun <sunxg007_at_nyahnyahspammersnyahnyah>
Date: Wed, 16 Sep 2009 02:05:52 -0700 (PDT)

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.


ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Sep 16 2009 - 03:05:52 MDT

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