How could I shorten the processing time of plot?

1 view (last 30 days)
I hope to real-time process and plot the 3-D image. x,y,z are all 1*500 arraies.
plot3(x,y,z);
scatter3(x,y,z);
It takes 5ms to do image processing but 50ms to do 3D plot. It seems difficult to realize real-time display?
Are there any methods to cut down the processing time of plot.
Perhaps I could use GPU to do plot, is it effcient? Because my computer doesn't have GPU, perhaps I need to install a GPU if neccesary.
Thank you so much for your answer.
  3 Comments
Ruixiao Li
Ruixiao Li on 21 Mar 2019
Edited: Ruixiao Li on 21 Mar 2019
Thank you for your idea. I also found that creating the window costs much time. I will try your way. Thanks again.
Adam Danz
Adam Danz on 21 Mar 2019
I'd be interested if you found a faster solution.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!