title: How to change the length of axes for 3D plots in matplotlib
body: <p>By default the 3D space where you plot in matplotlib has a cubical shape. That is, no matter which are the ranges of the X,Y and Z values, they will always rescale to fit this cube-like space. Example:
  <a href="https://i.stack.imgur.com/K6OOz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K6OOz.png" alt="enter image description here"></a></p>
  
  <p>Is there anyway to modify the length of one of these axis to get a rectangular-prism-shape to plot my data?
  Something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/gUlJg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gUlJg.jpg" alt="enter image description here"></a></p>
  
  <p>Thanks</p>