title: axis equal in a Matlab loglog plot
body: <p>In Matlab the command 'axis equal': </p>
  
  <blockquote>
    <p>sets the aspect ratio so that equal tick mark
       increments on the x-,y- and z-axis are equal in size. This
       makes SPHERE(25) look like a sphere, instead of an ellipsoid</p>
  </blockquote>
  
  <p>However, when using the <code>loglog</code> plotting function, this doesn't work "properly". What I would like to happen is that I get an aspect ratio so that a given <strong>factor</strong> occupies the same visual distance. What actually happens is that</p>
  
  <pre><code>&gt;&gt; loglog(2.^[1:20]*1e10,(2.^[1:20]).^2)
  &gt;&gt; axis equal
  </code></pre>
  
  <p>results in </p>
  
  <p><img src="https://i.stack.imgur.com/dX1eX.png" alt="alt text"> </p>
  
  <p>rather than </p>
  
  <p><img src="https://i.stack.imgur.com/4T09V.png" alt="alt text"></p>
  
  <p>So that the slope 2 (from the squared) could be easily observed, and so that there wouldn't be all that extra white space. </p>
  
  <p>My question is:</p>
  
  <blockquote>
    <p>Is there a Matlab command that does this for me? Alternatively, has anyone solved this problem before?</p>
  </blockquote>