<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Guido, <span class="moz-smiley-s1"><span>:-)</span></span><br>
    <br>
    have you tried the cnMissingValFillColor resource to set the color
    for missing value?<br>
    <strong></strong><strong><br>
      <font color="#3333ff"><tt> </tt></font></strong><font
      color="#3333ff"><tt> ResC@cnFillPalette         = cmap_r<br>
      </tt><tt></tt><tt>  ResC@cnMissingValFillColor = 0</tt></font><br>
    <br>
    Bye,<br>
    Karin<br>
    <strong><strong><br>
      </strong></strong>
    <div class="moz-cite-prefix">Am 29.09.17 um 16:55 schrieb Guido
      Cioni:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6B489662-864F-4E89-8B39-A8B6BF97D94D@gmail.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      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>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
  </body>
</html>