摘要:
plot(x,y,'r--')% r为颜色,--为线形 阅读全文
posted @ 2016-08-17 22:35
chamie
阅读(6182)
评论(0)
推荐(0)
摘要:
%%绘图 suptitle('公路') %总标题subplot(2,2,1);plot(x,y11,'r-') hold onplot(x,y21,'b-')xlabel('方向')ylabel('能量')legend('草地','公路')set(legend,'edgecolor','none') 阅读全文
posted @ 2016-08-17 22:27
chamie
阅读(13802)
评论(0)
推荐(0)
摘要:
imshow(I);title('公路');axis on; %如果不需要,on改为off 阅读全文
posted @ 2016-08-17 19:14
chamie
阅读(6199)
评论(0)
推荐(0)
摘要:
在图形文件figure的菜单上点击file->export setup size选项中,对"expand axes to fill figure"选项打勾,如下图: 阅读全文
posted @ 2016-08-17 19:12
chamie
阅读(3615)
评论(0)
推荐(0)
摘要:
**只会显示灰度直方图I = imread('*.bmp') %图必须是灰度图,或者转换为灰度图I=rgb2gray(I);imshow(I);imhist(I); **同时出现在一个平面上I = imread('*.bmp') %图必须是灰度图,或者转换为灰度图I=rgb2gray(I);imsh 阅读全文
posted @ 2016-08-17 18:15
chamie
阅读(9823)
评论(0)
推荐(1)
浙公网安备 33010602011771号