2 Scenario Legend Setup
조회 수: 1 (최근 30일)
이전 댓글 표시
I wish to make a legend plot that separates 2 experiments by color while sepparating the inputs by line style, inputs for both experiments were the same. What is the best way to go about making a legend like this?
댓글 수: 0
답변 (2개)
madhan ravi
2020년 10월 18일
plot(1:5, '-k')
hold on
plot(6:10, ':y')
legend({'Leg 1', 'Leg2'}) %?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!