<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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="">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 color="#3333ff" class=""><tt class=""> </tt></font></strong><font color="#3333ff" class=""><tt class=""> ResC@cnFillPalette = cmap_r<br class="">
</tt><tt 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 wrap="" class="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">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">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="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<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="">http://guidocioni.altervista</a>.org</div>
</div>
<br class=""></div></div></div></body></html>