Functions to handle markers; used by the marker functionality of
plot, scatter, and
errorbar.
All possible markers are defined here:
Note that special symbols can be defined via the
STIX math font,
e.g. "$\u266B$". For an overview over the STIX font symbols refer to the
STIX font table.
Also see the STIX Fonts.
Integer numbers from 0 to 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)
Markers join and cap styles can be customized by creating a new instance of
MarkerStyle.
A MarkerStyle can also have a custom Transform
allowing it to be arbitrarily rotated or offset.
Examples showing the use of markers: