Stefan,
> 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)
P.gca().set_aspect('auto')
Let us know if it works
P.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users