<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Lesley<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sorry, can’t point you to a detailed explanation, but the default contouring mode is ‘AreaFill’, and there is a bit of a description under the ‘cnFillMode’ resource help entry.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Have you tried setting cnFillMode = “RasterFill”, with the same explicit levels? I suspect it will ‘digitise’ the filling in the way that you want (but I don’t know).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Will<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">ncl-talk <ncl-talk-bounces@ucar.edu> on behalf of Lesley Smith - NOAA Affiliate via ncl-talk <ncl-talk@ucar.edu><br>
<b>Reply-To: </b>Lesley Smith - NOAA Affiliate <lesley.l.smith@noaa.gov><br>
<b>Date: </b>Friday, 1 November 2019 at 11:49 AM<br>
<b>To: </b>ncl-talk <ncl-talk@ucar.edu><br>
<b>Subject: </b>[ncl-talk] how does interpolation work in contour plot?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hi ncl-talk, <o:p></o:p></p>
<div>
<p class="MsoNormal">I'm trying to plot the season of the year with maximum precipitation<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">for each grid-point in the U.S.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I created a matrix of output, dimensioned lat x lon.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">There are only 4 possible (integer)values: 1,2,3,4 <--which I checked.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(1 is DJF, 2 is MAM, etc. I'll make this pretty later.) <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I get the attached plot, cam1x1_maxx_doy_precip.r01.1901.jpg,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(which I hope you can see) which I believe is correct.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">However, I do not understand why there appear to be so many floats<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">in the plot. Is there some kind of interpolation going on?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">When I try to set the contour levels explicitly, 1,2,3,4 I do<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">not seem to get a correct result.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thus, it would be awesome if someone could point me to <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">a page explaining interpolation in contour plots.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks very much!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-Lesley Smith<o:p></o:p></p>
</div>
</div>
</div>
<p style="font-size:10pt; line-height:10pt; font-family: Calibri,sans-serif;"><br>
<br>
University of Tasmania Electronic Communications Policy (December, 2014). <br>
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained
 in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
</p>
</body>
</html>