Create a scatter plot.
The data positions.
The z-positions. Either an array of the same length as xs and ys or a single value to place all points in the same plane.
The axis direction for the zs. This is useful when plotting 2D data on a 3D Axes. The data must be passed as xs, ys. Setting zdir to 'y' then plots the data to the x-z-plane.
See also Plot 2D data on 3D plot.
The marker size in points**2. Either an array of the same length as xs and ys or a single value to make all markers the same size.
The marker color. Possible values:
For more details see the c argument of scatter.
Whether to shade the scatter markers to give the appearance of depth. Each call to scatter() will perform its depthshading independently.
If given, the following parameters also accept a string s, which is interpreted as data[s] (unless this raises an exception):
xs, ys, zs, s, edgecolors, c, facecolor, facecolors, color
All other keyword arguments are passed on to scatter.
PathCollection
mpl_toolkits.mplot3d.axes3d.Axes3D.scatter
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.scatter.html