Cycle through graph marks
2 views (last 30 days)
Show older comments
I am generating 10 functions, which are change dynamicaly as the loop goes on.
How can I assign a specific mark to each function, assuming that the order of the function is not kept,
but changes all the time?
0 Comments
Answers (1)
Walter Roberson
on 15 May 2021
Create a cell array of linespec (character vectors indicating style and color and marker). Then each time you plot, index into a cell array to extract the linespec for that plot.
0 Comments
See Also
Categories
Find more on Line 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!