Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Working with large data sets
Date: Thu, 28 Aug 2008 14:21:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 25
Message-ID: <g96c8d$c9m$1@fred.mathworks.com>
References: <g968pq$28l$1@fred.mathworks.com> <27510707.1219932494186.JavaMail.jakarta@nitrogen.mathforum.org>
Reply-To: "David Doria" <daviddoria@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1219933262 12598 172.30.248.37 (28 Aug 2008 14:21:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 28 Aug 2008 14:21:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:487676




> 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!