November 2018
Beginner to intermediate
214 pages
5h 2m
English
To insert something on the plot we've created, make the new axes and generate 500 random points with random x, y, and z positions:
# Add a 3D Scatterplotx = np.random.normal(size=500)y = np.random.normal(size=500)z = np.random.normal(size=500)fig = plt.figure()ax = fig.add_subplot(111, projection='3d')ax.scatter(x,y,z)
When we call scatter on this axis object, we get a 3D projected scatter plot, as shown here:

As we hover over this 3D scatter plot, we get a 3D Gaussian (essentially a ball of points). A 3D Gaussian approximates a lot of interesting phenomena; for example, it's a reasonable approximation of certain ...
Read now
Unlock full access