99:math:`x` and :math:`y` are one-dimensional arrays of the same length, and
1010hence :math:`z` is also one-dimensional. Sometimes it is useful to grid that
1111data via appropriate interpolation schemes (see `scipy.interpolate.griddata`
12- for some in python). However, if the data is spaced appropriately it can sometimes
12+ for some in python). However, if the data is spaced appropriately, it can sometimes
1313be plotted directly in Matplotlib.
1414
15- Matplotlib does this via a suite of triangulation routines in the
15+ Matplotlib accomplishes this via a suite of triangulation routines in the
1616:mod:`matplotlib.tri` module. The most basic triangulation routine is
1717`~matplotlib.tri.Triangulation`, which is a simple wrapper around the popular
1818`Qhull <http://www.qhull.org/>`_ library. The `~matplotlib.tri.Triangulation`
@@ -27,8 +27,8 @@ class is used to create a triangulation of a set of points, and this
2727# -------
2828#
2929# The most basic plot is the `~.axes.Axes.triplot` method, which plots the
30- # edges of the triangles. Here we create a simple triangulation on a set of
31- # points, and plot the edges of the triangles that are created.
30+ # edges of triangles in a triangulation . Here we create a simple triangulation
31+ # on a set of points, and plot the edges of the triangles that are created.
3232
3333import matplotlib .pyplot as plt
3434import numpy as np
@@ -86,8 +86,10 @@ class is used to create a triangulation of a set of points, and this
8686# tricontour and tricontourf
8787# --------------------------
8888#
89- # The `~.axes.Axes.tricontour` and `~.axes.Axes.tricontourf` methods can also be used to
90- # plot contours on a triangulation.
89+ # The `~.axes.Axes.tricontour` and `~.axes.Axes.tricontourf` methods can be
90+ # used to plot contours of unstractured data, where the underlying
91+ # triangulation is used to interpolate the contour locations. Here we plot
92+ # contours of the same data as above.
9193
9294fig , ax = plt .subplots ()
9395ax .plot (x , y , 'm.' )
0 commit comments