combining line plot with grid of images

Hi all,

I've been trying to create a plot that includes 3 images and one line plot
in a 2 x 2 arrangement. I've used mpl_toolkits.axes_grid1.ImageGrid before
to successfully create 2 x 2 grids of all images, but in this case the
inclusion of the line plot, with different x and y scales, seems to mess
the whole thing up. I've included the share_all = False argument to
AxesGrid, but it doesn't help. If I do something like:
grid = AxesGrid(fig, 111, nrows_ncols=(2,2), share_all=False)
grid[0].imshow(img0)
grid[1].imshow(img1)
grid[2].imshow(img2)
all is okay, though a blank plot is shown in the bottom right position. If
I then do something like
grid[3].plot(x,y)
with x and y having different dimensions from the images, then all the
image panels are messed up. I would've thought that setting share_all =
False would have prevented that. Any suggestions would be appreciated.

Thanks,
Jon

ยทยทยท

--
________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160804/3fd36065/attachment.html>