Matlab画图常用命令
来源:互联网 发布:只有我知双语未删减版 编辑:程序博客网 时间:2024/06/06 02:05
1.设置标题
figure;set(gcf,'Name','csdn');
2.设置坐标轴范围
figure;axis([0 inf -10 10]); %前两个值为x轴,后面的为y轴
3.设置坐标轴范围及步长
figure;set(gca,'ytick',-10:1:10); %设置y轴,x轴同理
4.多次在同一图像上画图
在每次figure或plot后使用hold on;
5.添加图例
h1 = plot(...,'*k');h2 = plot(...,'*r');h3 = plot(...,'*g');h4 = plot(...,'*b');legend([h1,h2,h3,h4],'黑星','红星','绿星','蓝星',... 'Location','westoutside','Orientation','vertical');
阅读全文
1 0
- Matlab画图常用命令
- matlab画图
- matlab 画图
- matlab 画图
- matlab 画图
- MatLab 画图
- matlab画图
- matlab 画图
- matlab画图
- matlab 画图
- matlab画图
- matlab画图
- matlab画图
- Matlab画图
- matlab画图
- matlab 画图
- matlab---画图
- matlab画图
- JavaScript RegExp对象
- 【Android 】【多媒体】stagefrightplayer框架
- C++ & Pascal——NOIP2016提高组day2 t3——愤怒的小鸟
- c++ boost 库中提供的share_ptr(智能指针)
- Qt入门之信号与槽机制
- Matlab画图常用命令
- [Makefile-随笔] ifdef多条件判断
- libiconv-1.14 error: ‘gets’ undeclared here (not in a function)
- 【WEB】Vue2.0音乐APP实战中的知识点总结(三)
- HOG特征原理
- SpringMVC的视图解析器用法
- hdu6053TrickGCD(莫比乌斯反演)
- STL源码剖析——关联式容器的总结
- 【视频开发】【Live555】摄像头采集,264编码,live555直播(0)