Plotting different data
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
So I am trying to plot about 150 different things on a matlab figure window and I was wondering if there was any possible way for each of the lines plotted to be different from one another. I would normally use Hold All however this only works for the first 7 plots until it cycles from the beginning again. Can anyone help me with this issue? Thanks in advance
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 3 Okt. 2011
Well, you could look at the axes ColorOrder property, but you are going to have a very difficult time distinguishing all those.
If you are plotting a large number of different traces, I recommend using the MATLAB File Exchange contribution "plt", which makes it easy to supply lists of colors and styles and markers and will automatically use each combination.
plt() handles up to 99 traces per plot at the same time: more if you turn off the generation of the legend.
There is another contribution to help pick out the maximally perceptually different colors: see http://www.mathworks.com/matlabcentral/fileexchange/29702
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!