<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239</link>
    <title>MATLAB Central Newsreader - Working with large data sets</title>
    <description>Feed for thread: Working with large data sets</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 27 Aug 2008 23:16:02 -0400</pubDate>
      <title>Working with large data sets</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239#597663</link>
      <author>David Doria</author>
      <description>I have 20,000 3D points that I would like to plot.  Matlab&lt;br&gt;
just grinds and grinds and eventually the system freezes or&lt;br&gt;
I get a &quot;cache memory exhausted&quot; error.  Is there a good way&lt;br&gt;
to do something like this with matlab?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
David</description>
    </item>
    <item>
      <pubDate>Thu, 28 Aug 2008 01:38:02 -0400</pubDate>
      <title>Re: Working with large data sets</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239#597673</link>
      <author>Paul </author>
      <description>&quot;David Doria&quot; &amp;lt;daviddoria@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g94n7i$haa$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I have 20,000 3D points that I would like to plot.  Matlab&lt;br&gt;
&amp;gt; just grinds and grinds and eventually the system freezes or&lt;br&gt;
&amp;gt; I get a &quot;cache memory exhausted&quot; error.  Is there a good way&lt;br&gt;
&amp;gt; to do something like this with matlab?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; David&lt;br&gt;
&lt;br&gt;
20,000 point is 'only' approximately 140x140 matrix and&lt;br&gt;
Matlab should handle this (in plots) with ease.  Are you&lt;br&gt;
just trying to plot or are you actually trying some&lt;br&gt;
calculations when you say grinds and grinds?  </description>
    </item>
    <item>
      <pubDate>Thu, 28 Aug 2008 12:30:05 -0400</pubDate>
      <title>Re: Working with large data sets</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239#597732</link>
      <author>David Doria</author>
      <description>&lt;br&gt;
&amp;gt; 20,000 point is 'only' approximately 140x140 matrix and&lt;br&gt;
&amp;gt; Matlab should handle this (in plots) with ease.  Are you&lt;br&gt;
&amp;gt; just trying to plot or are you actually trying some&lt;br&gt;
&amp;gt; calculations when you say grinds and grinds?  &lt;br&gt;
&lt;br&gt;
it's a 20,000 x 3 matrix, isn't it? Maybe the problem was&lt;br&gt;
that I was connecting the points (aka drawing triangles). &lt;br&gt;
I'll try this morning to plot just the points and see if it&lt;br&gt;
does any better.&lt;br&gt;
&lt;br&gt;
David</description>
    </item>
    <item>
      <pubDate>Thu, 28 Aug 2008 13:22:02 -0400</pubDate>
      <title>Re: Working with large data sets</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239#597749</link>
      <author>David Doria</author>
      <description>Yea, even when I just plot the points, it is very very slow&lt;br&gt;
(ie non-smooth rotation, etc).  I have a dual core 3ghz&lt;br&gt;
machine with 4gb of ram so that isn't the problem...</description>
    </item>
    <item>
      <pubDate>Thu, 28 Aug 2008 14:07:43 -0400</pubDate>
      <title>Re: Working with large data sets</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239#597769</link>
      <author>Bill August</author>
      <description>&amp;gt; Yea, even when I just plot the points, it is very&lt;br&gt;
&amp;gt; very slow&lt;br&gt;
&amp;gt; (ie non-smooth rotation, etc).  I have a dual core&lt;br&gt;
&amp;gt; 3ghz&lt;br&gt;
&amp;gt; machine with 4gb of ram so that isn't the problem...&lt;br&gt;
Hi&lt;br&gt;
The speed is also related to how many handles you are using. So the question is how do you plot the points?&lt;br&gt;
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?&lt;br&gt;
Regards.</description>
    </item>
    <item>
      <pubDate>Thu, 28 Aug 2008 14:21:02 -0400</pubDate>
      <title>Re: Working with large data sets</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/235239#597775</link>
      <author>David Doria</author>
      <description>&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; The speed is also related to how many handles you are&lt;br&gt;
using. So the question is how do you plot the points?&lt;br&gt;
&amp;gt; Are you using plot3d or line which show the uniformed&lt;br&gt;
points (only one handle). Or you plot them one by one (20000&lt;br&gt;
handles) with differnet state?&lt;br&gt;
&amp;gt; Regards.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Ah great! I was plotting them individually, when I switched&lt;br&gt;
to plotting the whole matrix at the same time it worked MUCH&lt;br&gt;
better.&lt;br&gt;
&lt;br&gt;
ie. &lt;br&gt;
&lt;br&gt;
for i = 1:size(V,1)&lt;br&gt;
	plot3(h, V(i,1), V(i,2), V(i,3), 'o');&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
VS&lt;br&gt;
&lt;br&gt;
plot3(h, V(:,1), V(:,2), V(:,3), 'o');&lt;br&gt;
&lt;br&gt;
Thanks!</description>
    </item>
  </channel>
</rss>

