Filter löschen
Filter löschen

how to set legend in matlab

11 Ansichten (letzte 30 Tage)
Deepu S S
Deepu S S am 23 Sep. 2021
Beantwortet: Kishor am 19 Dez. 2022
how to set legend in matlab

Akzeptierte Antwort

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

Weitere Antworten (1)

Kishor
Kishor am 19 Dez. 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