Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Working with large data sets
Replies: 1   Last Post: Feb 24, 2013 1:56 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Derek Goring

Posts: 3,919
Registered: 12/7/04
Re: Working with large data sets
Posted: Feb 24, 2013 1:56 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.