Large array
Show older comments
Hi I would like to plot and process large data array with a GUI. The problem is that with small data array, the user interface works correctly but with large array the plotting (1D and 2D plot) encounters big delays and the interactivity (scrolling, updating...) becomes impossible. What's the best way to plot, process and interact with large data arrays ? Thanks.
Accepted Answer
More Answers (2)
Jan
on 10 Apr 2012
0 votes
Please post any details, e.g. the used code and the absolute size of what you call "large". A 2D plot of 1e9 points will be slow under all conditions, while a plot of 1e5 lines can be impeded by a variety of factors. Without seeing the code, we cannot guess the cause of the slowdown or suggest any improvements.
5 Comments
Vincent Gigot
on 10 Apr 2012
Vincent Gigot
on 10 Apr 2012
Jan
on 10 Apr 2012
You draw 3e6 lines on the screen? How many pixels do you expect to appear?
Vincent Gigot
on 11 Apr 2012
Jan
on 11 Apr 2012
Even 3e6 points are a lot for standard display resolutions.
Vincent Gigot
on 10 Apr 2012
0 votes
1 Comment
Jan
on 10 Apr 2012
You can use the "profile" command to find the bottlenecks of your program.
Categories
Find more on Text Data Preparation 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!