<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
cnMissingValFillColor:<br>
<br>
...<br>
Also note that the
triangular mesh contouring algorithm does not distinguish between
missing value areas and areas outside the grid boundary. Therefore
if <a
href="http://ncl.ucar.edu/Document/HLUs/Classes/ContourPlot.shtml"><strong>ContourPlot</strong></a>
is given non-rectangular data or <a
href="http://ncl.ucar.edu/Document/Graphics/Resources/tr.shtml#trGridType"><em>trGridType</em></a>
is explicitly set to <code>TriangularMesh</code>,
the color index used will be the larger value of those assigned to
the resources <a
href="http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMissingValFillColor"><em>cnMissingValFillColor</em></a>
and
<a
href="http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnGridBoundFillColor"><em>cnGridBoundFillColor</em></a>.
<br>
<br>
Maybe Mary, Dave or Rick can say somthing more about it.<br>
<br>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 29.09.17 um 17:23 schrieb Guido
Cioni:<br>
</div>
<blockquote type="cite"
cite="mid:8A1C5BB5-378D-4783-B632-890083687D92@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Yep, and I still get the same behaviour :(
<div class=""><br class="">
<div class="">I also thought that was the case but then I read
that "Transparent" is the default option for <span
style="color: rgb(51, 51, 255);" class="">cnMissingValFillColor</span>.</div>
<div class=""><br class="">
</div>
<div class="">Maybe it has something to do with the unstructured
grid that I'm using? <br class="">
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 29. Sep 2017, at 17:14, Karin
Meier-Fleischer <<a
href="mailto:meier-fleischer@dkrz.de" class=""
moz-do-not-send="true">meier-fleischer@dkrz.de</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""> Hi
Guido, <span class="moz-smiley-s1"><span class="">:-)</span></span><br
class="">
<br class="">
have you tried the cnMissingValFillColor resource to
set the color for missing value?<br class="">
<strong class=""></strong><strong class=""><br
class="">
<font class="" color="#3333ff"><tt class=""> </tt></font></strong><font
class="" color="#3333ff"><tt class="">
ResC@cnFillPalette = cmap_r<br class="">
</tt><tt class=""> ResC@cnMissingValFillColor = 0</tt></font><br
class="">
<br class="">
Bye,<br class="">
Karin<br class="">
<strong class=""><strong class=""><br class="">
</strong></strong>
<div class="moz-cite-prefix">Am 29.09.17 um 16:55
schrieb Guido Cioni:<br class="">
</div>
<blockquote type="cite"
cite="mid:6B489662-864F-4E89-8B39-A8B6BF97D94D@gmail.com"
class="">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"
class="">
Hi,
<div class="">I'm trying to plot filled contour of
wind speed overlaid on a map. In order to mask
small values of winds I've both masked the
original data and set the first color of the
color palette as transparent, i.e. </div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><font class="" face="Menlo">cmap_r=read_colormap_file("wind_17lev")</font></div>
<div class=""><font class="" face="Menlo">cmap_r(0,3)=0.0</font></div>
<div class=""><font class="" face="Menlo">ResC@cnFillPalette=
cmap_r</font></div>
</div>
<div class=""><br class="">
</div>
<div class="">However, when drawing with
ResC@cnFillMode = "RasterFill", this causes the
Missing Values to be coloured with white instead
that being transparent, as you can see in the
attached picture. </div>
<div class=""><br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"
class="">
<div class="">Going back to old discussion this
seems to be an old problem that was fixed in
6.2.0. Am I wrong? </div>
<div class=""><br class="">
</div>
<div class="">I'm attaching the script that I'm
using, although it is not 100% clean.</div>
<div class="">Cheers </div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"
class="">
<div class="">
<div class="">
<div style="font-family: Helvetica; font-size:
12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing:
normal; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class=""><br
class="Apple-interchange-newline">
Guido Cioni</div>
<div style="font-family: Helvetica; font-size:
12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing:
normal; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class=""><a
href="http://guidocioni.altervista/"
class="" moz-do-not-send="true">http://guidocioni.altervista</a>.org</div>
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre class="" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu" moz-do-not-send="true">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" moz-do-not-send="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br class="">
</div>
_______________________________________________<br
class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" class=""
moz-do-not-send="true">ncl-talk@ucar.edu</a><br
class="">
List instructions, subscriber options, unsubscribe:<br
class="">
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;"
class=""><br class="Apple-interchange-newline">
Guido Cioni</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;"
class=""><a href="http://guidocioni.altervista" class=""
moz-do-not-send="true">http://guidocioni.altervista</a>.org</div>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</body>
</html>