Hello all,
I’m having trouble setting the aspect ratio of an Axes3D to equal. Is it possible ?
Here is example illustrating the problem:
from matplotlib.pylab import *
from mpl_toolkits.mplot3d import Axes3D
from numpy import *
n = 100
r = 3
t = linspace(0,2pi, n)
ax = Axes3D(figure())
ax.set_aspect(‘equal’)
ax.plot(xs=cos(t), ys=sin(t), zs=0)
ax.plot(xs=[0]n, ys=rsin(t), zs=rcos(t))
show()
As a workaround, I currently plot a big cube around my data.
I would be very glad if someone had a cleaner solution.
Thanks by advance
Regards, Sebastien