fig转pdf文件

无白边,无缩小

set(gcf, 'PaperUnits', 'points');
p=get(gcf,'pos')  ;
set(gcf, 'PaperSize',p(3:4));
set(gcf,'paperpositionmode','auto')
system('taskkill /f /im AcroRd32.exe')
print -dpdf file_out.pdf

你可能感兴趣的:(fig转pdf文件)