| [ Web Proxy ] |
| Viewing: https://matplotlib.org/gallery/mplot3d/../axes_grid1/../../plot_types/3D/plot3d_simple.html | [Back] [Original] |
Note
Go to the end to download the full example code.
See plot.
[plot3d simple]import matplotlib.pyplot as plt
import numpy as np
plt.style.use('_mpl-gallery')
# Make data
n = 100
xs = np.linspace(0, 1, n)
ys = np.sin(xs * 6 * np.pi)
zs = np.cos(xs * 6 * np.pi)
# Plot
fig, ax = plt.subplots(subplot_kw={"projection": "3d"})
ax.plot(xs, ys, zs)
ax.set(xticklabels=[],
yticklabels=[],
zticklabels=[])
plt.show()
| Web Proxy Viewer | New URL | Original Page |