|
From: AliceMartin <rzu...@tr...> - 2010-01-16 14:04:28
|
This is what my graph looks like so far: http://old.nabble.com/file/p27189491/2hqfayh.png I want to move the z axis from the back right to the front left. How do i do this? Here is the relevant section of my code: def make_plot(xaxis): fig = plt.figure() ax = Axes3D(fig) ax.set_xlim3d(xaxis[0], xaxis[-1]) ax.set_ylim3d(0, timelength) ax.set_zlim3d(0, 1) poly = PolyCollection(verts, facecolors='w') ax.add_collection3d(poly, zs=zs, zdir='y') ax.set_xlabel('Time') ax.set_ylabel('Distance') ax.set_zlabel('Power') plt.show() -- View this message in context: http://old.nabble.com/matplot-3d.-How-do-i-change-the-position-of-the-axis--tp27189491p27189491.html Sent from the matplotlib - users mailing list archive at Nabble.com. |