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().
On Mon, Apr 13, 2009 at 12:20 PM, rmber <ryanmbergmann@...287...> 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().
------------------------------------------------------------------------------
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 matplotlib-users List Signup and Options
Just pass in aspect='auto' as a keyword argument to imshow.
JDH
···
On Mon, Apr 13, 2009 at 11:20 AM, rmber <ryanmbergmann@...287...> 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().