Hi Alex,
Try setting mpFillDrawOrder="PostDraw"
http://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpFillDrawOrder
All those areas on the map that you have selected will be filled last,
which means any data contours/color fills will be overdrawn by the map
fill areas.
Adam
Alex Gardner wrote:
> Thanks for the help Adam but I've found a new problem. I'm trying to make
> contour plot with the Canadian North shaded. I can produce the map fine
> until I add the contour fill. Is there a way to have the shaded land area
> show up through a filled contour plot?
>
> Thanks for the help,
> Alex
>
>
>
> -----Original Message-----
> From: Adam Phillips [mailto:asphilli_at_cgd.ucar.edu]
> Sent: Friday, April 21, 2006 3:40 PM
> To: Alex Gardner
> Cc: ncl-talk_at_ucar.edu
> Subject: Re: Area fill the northern provinces of Canada
>
> Hi Alex,
>
> To add a single color to your working colormap use NhlNewColor:
> http://www.ncl.ucar.edu/Document/Functions/Built-in/NhlNewColor.shtml
>
> and to use a gray set each numerical input to the same value between 0
> and 1.0. for example: newcolor = NhlNewColor(wks,.75,.75,.75)
> The closer to 1.0 you get the lighter the gray.
>
> To select specific areas to fill is a bit more complicated. I took a bit
> from a few examples found on the maps only Applications page:
> http://www.ncl.ucar.edu/Applications/maponly.shtml
>
> and I attached it and the corresponding plot here. Basically I outline
> every Canadian area (by setting mpOutlineSpecifiers), but only gray fill
> the Northwest Territories (by setting mpFillAreaSpecifiers and
> mpSpecifiedFillColors).
>
> Let us know if you have any questions about what I did...
> Adam
>
>
> Alex Gardner wrote:
>
>>Does any one know how to area fill (any color) the northern provinces of
>>Canada when using a color table which does not include gray?
>>
>>_______________________________________________
>>ncl-talk mailing list
>>ncl-talk_at_ucar.edu
>>http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Apr 21 2006 - 16:45:43 MDT
This archive was generated by hypermail 2.2.0 : Mon Apr 24 2006 - 09:06:30 MDT