two ways of saving figure windows

来源:互联网 发布:探测网络拓扑 编辑:程序博客网 时间:2024/05/30 02:52
>> f = imread('D:\Matlab R2015b\exercise\matlab_text_images\dipum_images_ch03\Fig0308(a)(pollen).tif');subplot(2, 2, 1)imshow(f)subplot(2, 2, 2)imhist(f)xlim('auto')ylim('auto')subplot(2, 2, 3)histeq(f)imshow(histeq(f))subplot(2, 2, 4)imshow(histeq(f))subplot(2, 2, 4)imhist(histeq(f))xlim('auto')ylim('auto')saveas(gcf, 'test1', 'jpeg')%save figure 1print -f1 -djpeg test2 %save figure 1
0 0
原创粉丝点击