<divid="unreleased-message"> You are reading an old version of the documentation (v2.2.4). For the latest version see <ahref="https://matplotlib.org/stable/gallery/mplot3d/contourf3d.html">https://matplotlib.org/stable/gallery/mplot3d/contourf3d.html</a></div>
<pclass="last">Click <aclass="reference internal" href="#sphx-glr-download-gallery-mplot3d-contourf3d-py"><spanclass="std std-ref">here</span></a> to download the full example code</p>
<spanid="sphx-glr-gallery-mplot3d-contourf3d-py"></span><h1>Filled contours<aclass="headerlink" href="#filled-contours" title="Permalink to this headline">¶</a></h1>
<p>contourf differs from contour in that it creates filled contours, ie.
a discrete number of colours are used to shade the domain.</p>
<p>This is like a contourf plot in 2D except that the shaded region corresponding
<spanclass="n">fig</span><spanclass="o">=</span><ahref="../../api/_as_gen/matplotlib.pyplot.figure.html#matplotlib.pyplot.figure" title="View documentation for matplotlib.pyplot.figure"><spanclass="n">plt</span><spanclass="o">.</span><spanclass="n">figure</span></a><spanclass="p">()</span>
<ahref="../../api/_as_gen/matplotlib.pyplot.show.html#matplotlib.pyplot.show" title="View documentation for matplotlib.pyplot.show"><spanclass="n">plt</span><spanclass="o">.</span><spanclass="n">show</span></a><spanclass="p">()</span>
</pre></div>
</div>
<divclass="sphx-glr-footer class sphx-glr-footer-example docutils container" id="sphx-glr-download-gallery-mplot3d-contourf3d-py">