Section Navigation
Note
Go to the endto download the full example code.
Seeplot.
plot
importmatplotlib.pyplotaspltimportnumpyasnpplt.style.use('_mpl-gallery')# Make datan=100xs=np.linspace(0,1,n)ys=np.sin(xs*6*np.pi)zs=np.cos(xs*6*np.pi)# Plotfig,ax=plt.subplots(subplot_kw={"projection":"3d"})ax.plot(xs,ys,zs)ax.set(xticklabels=[],yticklabels=[],zticklabels=[])plt.show()
DownloadJupyternotebook:plot3d_simple.ipynb
DownloadPythonsourcecode:plot3d_simple.py
Downloadzipped:plot3d_simple.zip
Gallery generated by Sphinx-Gallery