MATLAB Answers

Plotting >500 curves verry slow since new plotting mode appeared?

2 views (last 30 days)
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
Micke Malmström
Micke Malmström on 17 Feb 2021
Found the error in my own code. I was changeing the color of the lines in a bad way (going through the properties of each line one by one). Now using colororder it’s much better.

Sign in to comment.

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by