hello,

is there a way to make a 2d scatter plot that includes (outside the axes) histograms of the marginals of the two variables? like the matlab function 'scatterhist'. see this for an example:

http://www.mathworks.com/access/helpdesk/help/toolbox/stats/index.html?/access/helpdesk/help/toolbox/stats/scatterhist.html

ideally i'd like the histograms outside the scatter plot to also have axes so that the height of each histogram bar will be interpretable. 

i understand that there's no command for this - but how can i construct it?  i would not mind writing code to do this... if it's possible.  right now this is the only thing keeping me from switching from matlab to matplotlib exclusively since i use these graphs a lot

thank you