<h2>Plots of arrays and fields<aclass="headerlink" href="#plots-of-arrays-and-fields" title="Permalink to this heading">#</a></h2>
<p>Plotting for arrays of data <codeclass="docutils literal notranslate"><spanclass="pre">Z(x,</span><spanclass="pre">y)</span></code> and fields <codeclass="docutils literal notranslate"><spanclass="pre">U(x,</span><spanclass="pre">y),</span><spanclass="pre">V(x,</span><spanclass="pre">y)</span></code>.</p>
</div><divclass="sphx-glr-thumbcontainer" tooltip="~.axes.Axes.pcolormesh is more flexible than ~.axes.Axes.imshow in that the x and y vectors nee..."><imgalt="" src="../_images/sphx_glr_pcolormesh_thumb.png" />
<p><aclass="reference internal" href="arrays/pcolormesh.html#sphx-glr-plot-types-arrays-pcolormesh-py"><spanclass="std std-ref">pcolormesh(X, Y, Z)</span></a></p>
<divclass="sphx-glr-thumbnail-title">pcolormesh(X, Y, Z)</div>
<p><aclass="reference internal" href="arrays/quiver.html#sphx-glr-plot-types-arrays-quiver-py"><spanclass="std std-ref">quiver(X, Y, U, V)</span></a></p>
<divclass="sphx-glr-thumbnail-title">quiver(X, Y, U, V)</div>
<p><aclass="reference internal" href="arrays/streamplot.html#sphx-glr-plot-types-arrays-streamplot-py"><spanclass="std std-ref">streamplot(X, Y, U, V)</span></a></p>
<divclass="sphx-glr-thumbnail-title">streamplot(X, Y, U, V)</div>
</div></div></section>
<sectionid="statistics-plots">
<h2>Statistics plots<aclass="headerlink" href="#statistics-plots" title="Permalink to this heading">#</a></h2>
<h2>Unstructured coordinates<aclass="headerlink" href="#unstructured-coordinates" title="Permalink to this heading">#</a></h2>
<p>Sometimes we collect data <codeclass="docutils literal notranslate"><spanclass="pre">z</span></code> at coordinates <codeclass="docutils literal notranslate"><spanclass="pre">(x,y)</span></code> and want to visualize
as a contour. Instead of gridding the data and then using
<aclass="reference internal" href="../api/_as_gen/matplotlib.axes.Axes.contour.html#matplotlib.axes.Axes.contour" title="matplotlib.axes.Axes.contour"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">contour</span></code></a>, we can use a triangulation algorithm and fill the