Re: [Matplotlib-users] Square Axes

2008-09-17 Thread Jae-Joon Lee
Adjusting a physical size of the axes is a bit tricky in matplotlib, as the axes has an fixed position in normalized figure coordinate. But, I guess setting the axes aspect ratio in physical size is doable relatively easily, at least if your x,y axis are in linear scales. For example, if you want

[Matplotlib-users] Square Axes

2008-09-17 Thread Erik Tollerud
I would like to ensure that the axes on a plot I'm making are square in the sense of how the axes appear in the figure. I tried using ax.set_aspect(1) , but that squares the axes in data coordinates, rather than in figure coordinates. So aside from generating a figure that is always square (which