Path: news.mathworks.com!not-for-mail
From: Peter Perkins <Peter.PerkinsRemoveThis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Density scatter plots in Matlab
Date: Mon, 14 Jul 2008 12:55:18 -0400
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <g5g0dm$jo2$1@fred.mathworks.com>
References: <g5e857$pml$1@fred.mathworks.com> <g5e9ed$8k$1@fred.mathworks.com> <g5fnkj$rkc$2@fred.mathworks.com> <g5ftsi$len$1@fred.mathworks.com>
NNTP-Posting-Host: perkinsp.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1216054518 20226 172.31.57.88 (14 Jul 2008 16:55:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 14 Jul 2008 16:55:18 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <g5ftsi$len$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:479241



Andrew wrote:

> One question, though: is it just me, or does it 
> seem like the third axis of the plot is always on the 
> order of 10^(-3), no matter how many data points I include 
> on the plot?  For example, if you just run the sample code 
> given in the file, the height of the "peak" is 
> approximately 0.95*10^(-3).  Do you know why this is so?

Well, it's a density plot, so regardless of how much data you have, the surface 
has to integrate to 1.  I suspect that's what you're seeing.  I can only refer 
you to the cited paper for details of the plot.