Re: [Matplotlib-users] AxesGrid problem.

2009-12-08 Thread Ryan Neve
Sorry for the delay. I don't know if I ever included my software versions: Python IDLE 2.6.2 matplotlib 0.99.0 numpy 1.4.0rc1 (I was using 1.3.0) Here is more complete code. This is the only place I use matplotlib for anything so I don't think any earlier code should affect the plot. I've

Re: [Matplotlib-users] AxesGrid problem.

2009-12-08 Thread Jae-Joon Lee
Did you test the code in my previous post? If you want to get some help, you need to take your time to create a simple and complete example (which reproduces the problem) that others can easily test. Since I believe the problem is due to the existence of an extra axes, your example don't need to

Re: [Matplotlib-users] AxesGrid problem.

2009-12-04 Thread Ryan Neve
Than you for your assistance with AxesGrid. Concerning the documentation, on this page: http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.htmit says: Name Default Description aspect True aspect of axes then a few lines below: *aspect*By default (False), widths and

Re: [Matplotlib-users] AxesGrid problem.

2009-12-04 Thread Jae-Joon Lee
On Fri, Dec 4, 2009 at 2:49 PM, Ryan Neve ryan.n...@gmail.com wrote: Than you for your assistance with AxesGrid. Concerning the documentation, on this page: http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.htmit says: Name Default Description aspect True aspect

Re: [Matplotlib-users] AxesGrid problem.

2009-12-03 Thread Ryan Neve
Thank You, I think I have a better understanding. In my figure, there are six axes, three for the plots: grid[i] and three for their colorbars: grid.cbar_axes[i]. I changed my code as you suggested and got something like: [image: UKM0g.png] I tried all sorts of things, but finally, by setting

Re: [Matplotlib-users] AxesGrid problem.

2009-12-03 Thread Jae-Joon Lee
On Thu, Dec 3, 2009 at 3:40 PM, Ryan Neve ryan.n...@gmail.com wrote: I tried all sorts of things, but finally, by setting aspect=False I got it to work. In the documentation, the table says this defaults to True and the explanation of aspect below says it defaults to False. Although I don't

Re: [Matplotlib-users] AxesGrid problem.

2009-12-02 Thread Jae-Joon Lee
This happens because, when the AxesGrid is created, gca() is set to the last axes, which is the last colobar axes. If you use axes_grid toolkit, you'd better not use pyplot command that works on axes. Instead, use axes method directly. For example, instead of pyplot.pcolor(..) , use