November 2018
Beginner to intermediate
214 pages
5h 2m
English
We have a parametric spiral curve that ascends along the different axes which is described in the following points:
# Line plotfig = plt.figure()ax = fig.add_subplot(111, projection='3d')theta = np.linspace(-4 * np.pi, 4 * np.pi, 100)z = np.linspace(-2, 2, 100)r = z**2 + 1x = r * np.sin(theta)y = r * np.cos(theta)ax.plot(x,y,z)
Hence, here we see our spiral in the 3D plot:

Read now
Unlock full access