Re: masking

From: Luis Fernando Montana Roa <lfmontanar_at_nyahnyahspammersnyahnyah>
Date: Mon Sep 19 2011 - 05:30:01 MDT

Hi Mary,
Sorry, I had forgotten to attach the script and data.
I need to mask out all contours that are outside of Colombia shapefile.

Best regards,


attached mail follows:

Hi Fernando,

It's hard to tell which part of this plot is from the shapefile, so
I'm not sure which areas you want masked out.
In the future, it would help if you could provide your script, and
even better if you can provide your data too.

Generally, if you want to mask out certain areas, the easiest thing to
do is fill in these map areas with white.
If your contours are going halfway through a country, however, it'

See example "maponly_22.ncl" at:

It shows how to use the mpFillAreaSpecifiers resource to specify which
areas to fill in.
You need to provide a corresponding mpSpecifiedFillColors resource to
indicate which color
you want for each area.


On Sep 16, 2011, at 8:36 PM, Luis Fernando Montana Roa wrote:

> Hi all, I need to mask all contours outside the shapefile.
> Any suggestions?
> Best regards,
> Fernando
> <com_rf1.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Mon Sep 19 07:30:19 2011

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2011 - 17:12:44 MDT