Plotting >500 curves verry slow since new plotting mode appeared?
Show older comments
I have been plotting many 1000 curves (double with ~32000 points in each line) in matlab with regular "plot" function and have recently experienced that it is very slow. I have increased Java Heap memory to 4 GB but it doesnt help .
I have a vage memory that the shift happened around the same time that the new plot features appeared, ie the tools in the right top corner. Could this be the reason? if so is there any way of forcing some plots to use the old method?
3 Comments
Steven Lord
on 2 Nov 2020
With 1000 curves on a single figure, I'd imagine that picture would be difficult to interpret. Do you actually need all 1000 curves to be on the same figure and/or open at the same time?
Micke Malmström
on 9 Nov 2020
Micke Malmström
on 17 Feb 2021
Accepted Answer
More Answers (1)
Ameer Hamza
on 2 Nov 2020
Try disabling the toolbar
ax = axes();
ax.Toolbar = [];
Also, try disabling the interactions if you don't need it: https://www.mathworks.com/help/matlab/ref/disabledefaultinteractivity.html
1 Comment
Micke Malmström
on 9 Nov 2020
Categories
Find more on 2-D and 3-D Plots 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!