Hi(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to find a way to create a marginal distribution plot in matlab. I have lots of X-Y values on a scatter plot and need to find the approximate distribution. I have the Statistics Toolbox which is probably needed.

I used POLYTOOL which gives me a mean and standard deviation value for the data on the Y axis, based on a single value for X. Ideally I would want a mean and standard deviation for both though, or at least something that describes the thing as a whole.

This is kind of what I'm looking for:

http://www.ehponline.org/members/2000/suppl-5/883-893bernillon/fig3.gif [Broken]

http://www.unt.edu/benchmarks/archives/2003/february03/rss_003.gif

Any help much appreciated! Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB: Marginal Distribution Plot

**Physics Forums | Science Articles, Homework Help, Discussion**