On 11/20/2010 09:05 PM, Garry Willgoose wrote: > I want to control the ratio of the size of the x and y axes of contour/ > contourf() plot (in the same way that 'aspect' lets me control > imgshow()). Is there any way to do this?
Yes, use the set_aspect() method of the Axes object: http://matplotlib.sourceforge.net/api/axes_api.html?highlight=aspect#matplotlib.axes.Axes.set_aspect Eric ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users