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

Robert

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Robert View all
Updated File Comments Rating
08 Jan 2014 cloudPlot A function to plot the distribution of 2-dimensional data. Author: Daniel Armyr

Wow, that surprises me. In one case I ran, the profiler reported the time spent populating the canvas dropped from 80 seconds to 10 seconds. That was using MATLAB r2012b 64 bit on Windows 7 for creating a cloudPlot from around 10M data points. If I can figure out what the difference was I will let you know.

13 Dec 2013 cloudPlot A function to plot the distribution of 2-dimensional data. Author: Daniel Armyr

Love this function. I haven't worked with sparse matricies much so I can't speak to the robustness of this, but as food for thought:
The counting on lines 152 - 155 can be done more quickly using
canvas = full(sparse(xBinIndex,yBinIndex,1,bins(1),bins(2)));
Anyway, thanks for this submission and for maintaining and updating it.

Contact us