MATLAB: Marginal Distribution Plot

  • MATLAB
  • Thread starter chendry2001
  • Start date
  • #1

Main Question or Discussion Point

Hi

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
 
Last edited by a moderator:

Answers and Replies

  • #2
MATLABdude
Science Advisor
1,655
4
  • #3
MATLABdude
Science Advisor
1,655
4
  • #4
thanks. it was more about finding the parameters of the distribution than the 2 plots on the side of the graph. But i can prob draw a vertical histogram now and add a probability distribution line and establish the values from that. Should work

Thanks for your help!
 

Related Threads for: MATLAB: Marginal Distribution Plot

Replies
0
Views
8K
Replies
2
Views
12K
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
8
Views
5K
  • Last Post
Replies
1
Views
8K
  • Last Post
Replies
2
Views
3K
Top