On 3/16/07, Bill Baxter <[EMAIL PROTECTED]> wrote:

I guess that makes sense.
Personally I'd rather have consistency.  I'm not sure why matshow() in
particular needs to have the window shape match the image shape.

Why not just do axis('scaled') within the confines of the window you have?
Tried it out, it seems to work pretty well, and seems more consistent
with the way other things work in pylab.

Well, the code you pasted doesn't seem to work correctly using current
SVN (comparison between mymatshow and matshow attached).

Frankly, I don't care how it's done: I wrote matshow long ago, back
when axis('scaled') didn't exist in the first place.  If the same
result can be achieved by other means that are cleaner, I'm sure John
will accept a patch.

All I need regularly in my work is the ability to plot a matrix such
that both the axis AND the enclosing figure (which determines the size
of the resulting EPS files for publications or talks) have the aspect
ratio of the actual matrix.  How that result is achieved is really
immaterial to me.

matshow does what I need so I use it, but I have no particular
attachment to the code other than the fact that it happens to work
correctly.  That's a bonus in my book.

Cheers,

f

Attachment: matshow.png
Description: PNG image

Attachment: mymatshow.png
Description: PNG image

-------------------------------------------------------------------------
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

Reply via email to