[ncl-talk] how does interpolation work in contour plot?

Lesley Smith - NOAA Affiliate lesley.l.smith at noaa.gov
Thu Oct 31 18:48:13 MDT 2019


Hi ncl-talk,
I'm trying to plot the season of the year with maximum precipitation
for each grid-point in the U.S.
I created a matrix of output, dimensioned lat x lon.
There are only 4 possible (integer)values: 1,2,3,4 <--which I checked.
(1 is DJF, 2 is MAM, etc. I'll make this pretty later.)
I get the attached plot, cam1x1_maxx_doy_precip.r01.1901.jpg,
(which I hope you can see) which I believe is correct.
However, I do not understand why there appear to be so many floats
in the plot. Is there some kind of interpolation going on?
When I try to set the contour levels explicitly, 1,2,3,4 I do
not seem to get a correct result.
Thus, it would be awesome if someone could point me to
a page explaining interpolation in contour plots.
Thanks very much!
-Lesley Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191031/19abd6e1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cam1x1_maxx_doy_precip.r01.1901.jpg
Type: image/jpeg
Size: 438325 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191031/19abd6e1/attachment-0001.jpg>


More information about the ncl-talk mailing list