Rank: 68111 based on 0 downloads (last 30 days) and 0 file submitted
photo

Thomas

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Thomas
Updated File Comments Rating
02 Mar 2012 SCATTERCLOUD Scatterplot over a density cloud. Author: Steve Simon

Centering bug:
I've symmetric data, but the cloud is not symmetric! Matt's solution does not solve the problem only by shifting the cloud. Debugging the code I found the C is non-symmetric padded by zeros and therefore not smoothed symmetric!

Solution:

C = zeros(numY-1,numX-1);

[...]

s = surf(linspace(minX,maxX,n),...
linspace(minY,maxY,n),...
zeros(numY-1,numX-1),C,...
'EdgeColor','none',...
'FaceColor','interp');

Contact us