:300:900, 'xtick',2:2:8, 'xlim', [0,10] ,'ylim', [0,100]);
set(gca,'looseInset',[0 0 0 0]) % 去除图片白色边框...WangYonglin\Desktop\','折线图','.tif']
print('-dtiff','-r600',fullname)
说明:
gcf : Current figure handle(当前图像句柄...还可以使用下面写法:
fig = gcf;
fig.unit = 'centimeters';
fig.position = [0,0,15,12];
uint 设置图像窗口长宽的单位....去除图片白色边框
----
print 打印图窗或保存为特定文件格式 (https://ww2.mathworks.cn/help/matlab/ref/print.html?...发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/134249.html原文链接:https://javaforall.cn