2 Scenario Legend Setup
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
madhan ravi
le 18 Oct 2020
plot(1:5, '-k')
hold on
plot(6:10, ':y')
legend({'Leg 1', 'Leg2'}) %?
0 commentaires
Voir également
Catégories
En savoir plus sur Legend dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!