无白边,无缩小
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
无白边,无缩小
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