x = (1:50); y = sin(x); plot(x,y,'-r*'); xlabel('x name');% x轴名称 ylabel('y name'); legend('xxx'); %线条注释,多条的话: legend('xxx','xxx2','xxx3').
確定! 回上一頁