From: per freem <perfreem@gm...> - 2009-08-10 04:40:20
i am wondering if there is a way or an interface in matplotlib to
design complex plot layouts. what i mean is something analogous to the
'layout' function of R, where you can say what portion of space each
plot will take. i think this allows for more sophisticated layouts
than the usual square matrix layouts that the 'subplot' function
produces (unless i am missing some other usage of 'subplot').
for example, creating a central square plot with two plots that are
narrower/rectangular on top of the square plot and to the side of it,
as in the example shown here:
The code for that in R can be found here
http://www.statmethods.net/advgraphs/layout.html. is there a way to
do this in matplotlib? ideally i'd like the top and right plots to
just be ordinary plot objects, such that i can change their
axes/labels in the same way that i change normal plots.