Matplotlib users, Hello, I am currently trying to create a 3D plot of a ships hull using the plot_surface command in an instance of Axes3d. The default aspect ratio for the surface_plot is a cube which, obviously, makes a silly looking ship. The x-axis ranges from 0-150, the yaxis ranges from -10,10 and the z-axis ranges from 0-10. I want to retain the aspect ratios of those data sets in the plot (to get the long, slender ship-looking surface). I can get the z and x axes to match up by doing something like:
aspect = (len(xaxis)/len(zaxis))**-1 ax.set_aspect(aspect,'datalim') However, I can not find a way to get different aspect ratios between axis to get each one in scale with the three data sets. Is there a way to do this currently with the Axes3d objects? Thank you for your help, Dylan -- Dylan Temple Ph.D Student, University of Michigan, NA&ME Department Email: dylan...@umich.edu Phone: 607-592-1749 ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users