5

how can I get an equidistant scaling for the X,Y and Z axis in a Matplolib 3D plot?

I already tried this:

ax = fig.add_subplot(111, projection='3d', aspect='equal')

But this only results in a equidistant scaling of the X and Y axis. How can I apply this to all three axes?

Thanks!

akaRem
  • 7,326
  • 4
  • 29
  • 43
Mebus
  • 71
  • 6
  • 4
    here is an example: http://stackoverflow.com/questions/11140163/python-matplotlib-plotting-a-3d-cube-a-sphere-and-a-vector/11156353#11156353 – HYRY Jan 26 '14 at 23:06

1 Answers1

0

There's a very flexible example with arbitrary scales and a really short example with equidistant scales; these don't work for you?

Community
  • 1
  • 1
cphlewis
  • 15,759
  • 4
  • 46
  • 55