On Thu, Jul 27, 2006 at 08:57:47PM -0400, PGM wrote: > > Is this normal? If so, how do I get around the problem? I also > > noticed that, even without extents, the image gets scaled after > > plotting. > > Try to set the "_autoscale" parameter of your current 'axes' to False. That > way, you should avoid any inopportune rescaling. For the image, try to use > aspect='auto'. > > For example, > > P.imshow(x,extent=(0,x.shape[1],x.shape[0],0)) > P.gca().set_autoscale_on(False)
Thanks, P., that did the trick! It looks like the right way to fix the scaling of the axes extents, but I am still not sure whether the axis flipping behaviour I described earlier is correct. Regards Stéfan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users