Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: Working with large data sets
Posted:
Feb 24, 2013 1:56 PM


On Monday, February 25, 2013 5:46:05 AM UTC+13, Jonathon Slightam wrote: > "David Doria" <daviddoria@gmail.com> wrote in message <g96c8d$c9m$1@fred.mathworks.com>... > > > > > > > Hi > > > > The speed is also related to how many handles you are > > > using. So the question is how do you plot the points? > > > > Are you using plot3d or line which show the uniformed > > > points (only one handle). Or you plot them one by one (20000 > > > handles) with differnet state? > > > > Regards. > > > > > > > > > Ah great! I was plotting them individually, when I switched > > > to plotting the whole matrix at the same time it worked MUCH > > > better. > > > > > > ie. > > > > > > for i = 1:size(V,1) > > > plot3(h, V(i,1), V(i,2), V(i,3), 'o'); > > > end > > > > > > VS > > > > > > plot3(h, V(:,1), V(:,2), V(:,3), 'o'); > > > > > > Thanks! > > > > I've got a similar problem. Although, plotting as a single handle doesn't help. the Matrix I'm trying to plot in 3D is ~1,000,000 x 3 or larger. Any ideas?
Show us the code you are using for plotting.
Look at this: xyz=randn(1000000,3); tic;plot3(xyz(:,1),xyz(:,2),xyz(:,3),'b.');toc Elapsed time is 0.189415 seconds.



