mpl_toolkits.mplot3d.axes3d.Axes3D.scatter
- Axes3D.scatter(xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=None, *args, depthshade_minalpha, , ,
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:
A single color format string.
A sequence of colors of length n.
A sequence of n numbers to be mapped to colors using cmap and norm.
A 2D array in which the rows are RGB or RGBA.
For more details see the c argument of scatter.
rcParams["axes3d.depthshade"] (default: True)Whether to shade the scatter markers to give the appearance of
depth. Each call to scatter() will perform its depthshading
independently.
rcParams["axes3d.depthshade_minalpha"] (default: 0.3)The lowest alpha value applied by depth-shading.
Whether to hide the scatter points outside the axes view limits.
If given, the following parameters also accept a string s, which is
interpreted as data[s] if s is a key in data:
xs, ys, zs, s, edgecolors, c, facecolor, facecolors, color
All other keyword arguments are passed on to scatter.
PathCollectionmpl_toolkits.mplot3d.axes3d.Axes3D.scatter