时间:2024-10-14 15:03:00
1、命令行键入:x = 1:10;
3、命令行键入:h = plot(x,y);
5、此外,也可以在调用绘图函数时指定线条属性。h = plot(x,y,'Color','red');