All possible markers are defined here:
| ||plus (filled)|
| ||x (filled)|
||caretleft (centered at base)|
||caretright (centered at base)|
||caretup (centered at base)|
||caretdown (centered at base)|
| ||Render the string using mathtext. E.g |
| ||A list of (x, y) pairs used for Path vertices. The center of the marker is located at (0,0) and the size is normalized, such that the created path is encapsulated inside the unit cell.|
The marker can also be a tuple
For backward compatibility, the form
(verts, 0) is also accepted, but it is deprecated and equivalent to just
verts for giving a raw set of vertices that define the shape.
None is the default which means 'nothing', however this table is referred to from other docs for the valid inputs from marker inputs and in those cases
None still means 'default'.
Integer numbers from
11 create lines and triangles. Those are equally accessible via capitalized variables, like
CARETDOWNBASE. Hence the following are equivalent:
plt.plot([1,2,3], marker=11) plt.plot([1,2,3], marker=matplotlib.markers.CARETDOWNBASE)
Examples showing the use of markers:
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.