Plotting different data

1 次查看(过去 30 天)
John
John 2011-10-3
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

采纳的回答

Walter Roberson
Walter Roberson 2011-10-3
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
  1 个评论
John
John 2011-10-5
Thanks for the advice, the latter function worked great.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by