You can try: sage: circle((0,0),2).show(figsize=[x,y])
If x and y are the same, then you get a square figure, and the circle will look correctly This won't help you if you want to draw a rectangular window but preserve the 1:1 aspect. I guess aspect should be decoupled from the figure size in some way, but currently I don't think we can do that. -Bobby On Dec 26, 2007 3:38 PM, Mike Hansen <[EMAIL PROTECTED]> wrote: > > I'm not really familiar with the plotting code, but it should be > doable since we use matplotlib. Here is an example of doing what you > want with matplotlib: > http://matplotlib.sourceforge.net/examples/equal_aspect_ratio.py > > --Mike > > > On 12/26/07, Peter <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I've been looking for a plot.option that ensures a 1:1 aspect ratio > > for 2D plots (e.g. something like AspectRatio->Automatic in Mma). Does > > this exist in Sage? I'm trying to set things up so that > > > > circle((0,0),2).show() > > > > shows a circle rather than an ellipse, regardless of the plot window > > dimensions. Apologies if this has already been covered somewhere. > > > > Peter > > > > > > > > > -- Bobby Moretti [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---