how to set legend in matlab

6 次查看(过去 30 天)
Deepu S S
Deepu S S 2021-9-23
回答: Kishor 2022-12-19
how to set legend in matlab

采纳的回答

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

更多回答(1 个)

Kishor
Kishor 2022-12-19
Add a legend to plot using the array starname

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by