If there is arrays of x, y, and z coordinates. I don't mean to show a static 2d plot, which can be drawn by
plot(x, y)
I mean
import matplotlib as mpl
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.plot(x, y, z, label='parametric curve')
plt.show()
which matplotlib function can change the view to side-view? So that I can add buttons for the matplotlib GUI, on which when user click, the 3d plot will be drawn as top-view/left-view/... and the user can still use mouse to rotate the plot in a 3d way later, just like what we can do in CAD software.
thanks