What is the reason for color of lines are repeating?
조회 수: 4 (최근 30일)
이전 댓글 표시
I was run richards program. This program was run successfully but I am not clear about graphs. Because many number of lines are plotted here and also same color are shown what is meant by repeat colors. Please give some possible solution.
댓글 수: 0
답변 (2개)
Mischa Kim
2014년 2월 19일
Venkatesan, could be that there is a
hold on
command, somewhere in the code? If so, replace by
hold all
to get differently colored line plots.
댓글 수: 0
Image Analyst
2014년 2월 19일
There is a set of default colors for lines and once they're all used, the colors will repeat. So if you have many lines, there may be repeated colors. See my demo, attached below in clue, on changing the default color order.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!