Thanks JJ!

That did fix my problem, but I can't say I understand what the 
difference is. Why does Axesgrid make them squashed while just Grid 
works?


On Thu Mar 21 22:28:34 2013, Jae-Joon Lee wrote:
> It is not clear what your problem is.
> AxesGrid implicitly assumes aspect=1 for each axes. So, I guess your
> y-limits are smaller (in its span) than x-limits.
> If you don't want this behavior, there is no need of using the
> AxesGrid. Rather use Grid, or simply subplots.
>
> import matplotlib.pyplot as plt
> from mpl_toolkits.axes_grid1 import Grid
>
> F = plt.figure(1,(5.5,3.5))
> grid = Grid(F, 111,
>             nrows_ncols=(1,3),
>             axes_pad = 0.1,
>             add_all=True,
>             label_mode = 'L',
>             )
>
> If this is not the answer you're looking for, I recommend you to post
> a complete but simple script that reproduces your problem and describe
> the problem more explicitly.
>
> Regards,
>
> -JJ
>
>
> On Fri, Mar 22, 2013 at 6:03 AM, Steven Boada <bo...@physics.tamu.edu
> <mailto:bo...@physics.tamu.edu>> wrote:
>
>     Heya List,
>
>     See attached image for what I mean.
>
>     Here is the grid creation bit. I can't seem to figure out what
>     might be causing such a problem.
>
>         F = pyl.figure(1,(5.5,3.5))
>     grid = AxesGrid(F, 111,
>                             nrows_ncols=(1,3),
>                             axes_pad = 0.1,
>                             add_all=True,
>                             label_mode = 'L',
>                             aspect=True)
>
>     Should be simple enough right?
>
>     --
>
>     Steven Boada
>
>     Doctoral Student
>     Dept of Physics and Astronomy
>     Texas A&M University
>     bo...@physics.tamu.edu <mailto:bo...@physics.tamu.edu>
>
>
>     
> ------------------------------------------------------------------------------
>     Everyone hates slow websites. So do we.
>     Make your web apps faster with AppDynamics
>     Download AppDynamics Lite for free today:
>     http://p.sf.net/sfu/appdyn_d2d_mar
>     _______________________________________________
>     Matplotlib-users mailing list
>     Matplotlib-users@lists.sourceforge.net
>     <mailto:Matplotlib-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

--

Steven Boada

Doctoral Student
Dept of Physics and Astronomy
Texas A&M University
bo...@physics.tamu.edu

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to