On Sun, 18 Mar 2007, Eric Firing wrote: > One of the matshow anomalies is that it is a pylab function only instead > of a wrapper for an Axes method, so I made a new Axes.matshow(), and a > temporary matshow1() pylab function that calls it. Differences between > matshow() and matshow1(): > > 1) The latter labels the *centers* of the squares representing the > matrix elements, starting from zero. Tick values are consequently integers. > > 2) matshow1 uses the same function as matshow (figaspect()) to determine > the window dimensions, but keeps the matrix elements square when they > would be stretched in matshow. I can change this back to the matshow > behavior if desired.
You may recall from our previous discussions that I would rather you not change (2) back to matshow behaviour. Although I am not sure if you say you will force the aspect ratio to be equal, or that you will preserve the aspect ratio of the matrix as specified? (As you may recall, I was unhappy with the matrix being stretched when other elements were added to the figure.) And thanks for #1. ------------------------------------------------------------------------- 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