matlab如何给指定的曲线加legend

2025-02-23 19:49:09
推荐回答(1个)
回答1:

用句柄,
比如
x=0:0.1:10;
y=exp(x);
h1=plot(x,y);
legend(h1,'标注');