On Mon, Apr 13, 2009 at 11:20 AM, rmber <ryanmbergm...@gmail.com> wrote: > > Is there a way to make imshow scale images to dimensions other than that of > the arrya passed to it? I'm trying to plot a long matrix (like 23x5000) and > imshow doesn't work very well since it makes a very vertically thin plot and > its hard to see anything. I would like the image to dynamically scale with > windows size like if you plotted something with specgram() or plot(). >
Just pass in aspect='auto' as a keyword argument to imshow. JDH ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users