<div dir="ltr"><div>Adam,</div><div><br></div><div>I think this is a very old issue; I have seen this before with RasterFill.  Actually there IS a difference in how missing values are shaded, and it is normal.  The problem is with the the perimeter lines, not the missing value shading.</div><div><br></div><div>Missing value areas are drawn correctly in both modes, it is just that the area shaded for non-missing data is naturally larger in RasterFill mode than in AreaFill mode.  RasterFill draws the normal shaded data areas an extra 1/2 cell width into missing value regions.</div><div><br></div>As far as I can remember, the missing value perimeter line has ALWAYS followed edges as generated by AreaFill, regardless of alternate cnFillMode settings.  I do not know whether there was ever any intention of changing the perimeter line to follow the cnFillMode, or whether this was just a feature intended only for normal AreaFill mode.  I did not find any clues in ContourPlot documentation.  HTH.<div><br></div><div>--Dave<div><br><br><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 18, 2015 at 4:45 PM, Adam Phillips <span dir="ltr">&lt;<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Evelyn,<div>There should not be any difference in how the missing values are shaded. Can you send us a simplified version of your script and data files so we can take a look?  If the data files are too big to send over ncl-talk you can use our ftp site:</div><div><a href="http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP" target="_blank">http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP</a></div><div>Also, please let us know what version of NCL you are using..</div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 2:50 PM, Evelyn Grell - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:evelyn.grell@noaa.gov" target="_blank">evelyn.grell@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div style="font-family:tahoma,sans-serif">Hi,</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">I am plotting cross-sections and was filling the area below ground with a gray fill, more or less representing the terrain.  This seemed to be working fine until I plotted a field using cnFillMode  = &quot;RasterFill&quot;.  In that case, the &quot;missing&quot; perimeter line is in the same place, but the gray fill does not cover the entire area under the perimeter line.  See attached plots.</div><div style="font-family:tahoma,sans-serif">Since I would like to compare plots -- some with rasterfill and some with the default areafill, it is awkward to explain why the terrain looks different.  Is there a way around this?  I can remove the perimeter line, but the gray-filled area is different.  </div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">Relevant resources:</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">     res@cnMissingValPerimOn     = True</div><div style="font-family:tahoma,sans-serif">     res@cnMissingValFillColor   = &quot;gray&quot;</div><div style="font-family:tahoma,sans-serif">     res@cnMissingValFillPattern = 0</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">The only difference between plots is whether this line is used:</div><div><font face="tahoma, sans-serif">     resDBZ@cnFillMode      = &quot;RasterFill&quot;</font><br></div><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif">Thanks,</font></div><div><font face="tahoma, sans-serif">Evelyn</font></div></div></div></blockquote></div></div></blockquote></div></div></div></div></div></div>