See the docstring of the `Plot` class. It says that there is an
`aspect_ratio` aesthetics that can be modified as:

p = plot(...)
p.aspect_ratio = ...

The issue is that the our matplotlib backend does not use this yet. A
patch for this would be most welcomed. You can add it to  the
`process_series` method of the `MatplotlibBackend` class on line 958
in plotting/plot.py. Something like `if parent.aspect_ratio != 'auto':
do stuff`

On 14 October 2013 22:00, Aaron Meurer <[email protected]> wrote:
> I guess the autoscale option will do it for you. It's documentation is
> buried in the docstring of the Plot object.
>
> Aaron Meurer
>
> On Sun, Oct 13, 2013 at 8:30 PM, Aaron Watters <[email protected]> wrote:
>> Hi folks,
>>
>> I have a sequence of calculations which ends up with the equation for an
>> ellipse.
>> When I plot it (or half of it) using sympy.plot it looks like a circle
>> because the plot
>> automatically adjusts the aspect ratio to even out the plot.  I'd like to
>> have a 1:1
>> aspect ratio.  Any automatic way to get a 1:1 aspect ratio using sympy.plot?
>> (I know there are
>> ways to do it using matplotlib directly...)
>>
>> You can test with a formula like x**2 + 9*y**2 = 10 or something.  It always
>> plots
>> looking like a circle.
>>
>> Thanks in advance!  -- Aaron Watters
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/sympy.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to