From: ImageAnalyst <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: plotting joint distribution?
Date: Sun, 5 Jun 2011 05:46:40 -0700 (PDT)
Lines: 24
Message-ID: <>
References: <isf6tb$boq$>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: 1307278000 20948 (5 Jun 2011 12:46:40 GMT)
NNTP-Posting-Date: Sun, 5 Jun 2011 12:46:40 +0000 (UTC)
Injection-Info:; posting-host=; posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe)
Xref: comp.soft-sys.matlab:730288

On Jun 5, 2:15 am, "Gary " <> wrote:
> Hi,
> I am new to matlab and wonder if anyone would be able to help the following:
> I now have a group of simulated data shown in a 1000-by-12 matrix, thus 1000 simulations and 12 variables. Does anybody know how to plot the sample joint distribution of these simulated data??? (I have spent days on this but failed to find a clue, I will be very much grateful if someone could give a hint !!!)
> Thanks in advance!
> Gary

What do you mean by joint distribution?  How about scatter() to plot
two variables against each other?  Something like
scatter(data(:,3), data(:,7));
to plot variable 3 against variable 7.
Do you then need to find some analytical equation that would fit that
distribution?  How about polyfitn by John D'Errico?
There may be other formulas that could be better if you know something
about the expected form of your distribution.