Re: contour labels outside of plot region

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 25 2014 - 12:14:39 MDT

Adrian,

This is not a bug. When you mask areas using mp resources these don’t apply to contour resources.

I think the “cnLabelDrawOrder” resource might help you. Please see the examples on the page:

https://www.ncl.ucar.edu/Applications/draworder.shtml

In particular, see draworder_3.ncl

—Mary

On Mar 25, 2014, at 5:30 AM, Adrian Tompkins <tompkins@ictp.it> wrote:

> hello,
>
> I am plotting a map for a set of sub-set of countries, using
>
> res@mpMaskAreaSpecifiers = countries
> res@mpFillBoundarySets = "NoBoundaries"
> res@mpPerimOn = True
> res@mpOutlineBoundarySets = "National"
>
> It works fine for the rasterfill colors, and also for the contours (i.e.
> they are only shown within the countries listed), but my problem is that
> when I switch on the contour labels:
> res@cnLineLabelsOn = True
>
> the labels are drawn everywhere, leaving a lot of "hanging" isolated
> numbers in the area outside the selected countries. Is this a known bug?
>
> I am using v6.0.0
>
> thanks and best wishes,
>
> Adrian
>
>
> --
> Adrian Tompkins | Earth System Physics
> +39 040 2240579 (office) | ICTP
> +39 040 22407579 (fax) | Strada Costiera 11
> www.ictp.it/~tompkins | 34151 Trieste, Italy
>
> _______________________________________________
> 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 Tue Mar 25 12:14:50 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 31 2014 - 11:47:09 MDT