You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/users/path_tutorial.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Path Tutorial
6
6
7
7
The object underlying all of the :mod:`matplotlib.patch` objects is
8
8
the :class:`~matplotlib.path.Path`, which supports the standard set of
9
-
moveto, lineto, curveto commands to draw simple and compoud outlines
9
+
moveto, lineto, curveto commands to draw simple and compound outlines
10
10
consisting of line segments and splines. The ``Path`` is instantiated
11
-
with a (N,2) array of (x,y) vertices, and a Nlength array of path
11
+
with a (N,2) array of (x,y) vertices, and a N-length array of path
12
12
codes. For example to draw the unit rectangle from (0,0) to (1,1), we
13
13
could use this code
14
14
@@ -53,24 +53,24 @@ Code Vertices Description
53
53
``STOP`` 1 (ignored) A marker for the end of the entire path (currently not required and ignored)
54
54
``MOVETO`` 1 Pick up the pen and move to the given vertex.
55
55
``LINETO`` 1 Draw a line from the current position to the given vertex.
56
-
``CURVE3`` 2 (1 control point, 1 endpoint) Draw a quadratic Bezier curve from the current position, with the given control point, to the given end point.
57
-
``CURVE4`` 3 (2 control points, 1 endpoint) Draw a cubic Bezier curve from the current position, with the given control points, to the given end point.
58
-
``CLOSEPOLY`` 1 (ignored) Draw a line segment to the start point of the current polyline.
56
+
``CURVE3`` 2 (1 control point, 1 endpoint) Draw a quadratic Bézier curve from the current position, with the given control point, to the given end point.
57
+
``CURVE4`` 3 (2 control points, 1 endpoint) Draw a cubic Bézier curve from the current position, with the given control points, to the given end point.
58
+
``CLOSEPOLY`` 1 (point itself is ignored) Draw a line segment to the start point of the current polyline.
0 commit comments