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!