1、就是在画图的时候添加网格线
2、例如
(相关资料图)
3、x=1:10;
4、y=x+2;
5、 plot(x,y)
6、执行这样的程序画出的图如图1所示
7、而如果改成
8、x=1:10;
9、y=x+2;
10、plot(x,y)
11、 grid on
12、执行这样的程序画出的图如图2所示
以上就是【grid on函数matlab,grid on】相关内容。
X 关闭
Copyright © 2015-2022 现在珠宝网版权所有 备案号:粤ICP备18023326号-5 联系邮箱:855 729 8@qq.com