Effacer les filtres
Effacer les filtres

how to set legend in matlab

11 vues (au cours des 30 derniers jours)
Deepu S S
Deepu S S le 23 Sep 2021
Réponse apportée : Kishor le 19 Déc 2022
how to set legend in matlab

Réponse acceptée

KSSV
KSSV le 23 Sep 2021
% Auto
A = rand(10,2) ;
plot(A)
legend
% Manually
plot(A)
legend('first','second')

Plus de réponses (1)

Kishor
Kishor le 19 Déc 2022
Add a legend to plot using the array starname

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by