print quality in batch mode
显示 更早的评论
Hi,
I have a script that creates multiple figures, which I save as png files using
print(gcf,'figurename.png','-dpng','-r300');
This works fine when I run it interactively. However, if I send the script to batch the images come out in horrible resolution. I tried to increase the size by setting the position to something larger
set(gcf,'position',[1 1 1600 1200])
but the image remains the same. I also tried changing the renderer, but that made no difference either.
Is there anything I can do to get high resolution images in batch mode?
I am using Matlab 2012a on Windows 7, but had this problem on previous versions, and also when running on a Linux based system.
1 个评论
Jan
2012-9-13
But what should be the difference between running in "batch" and interactively? Do you have differen PaperPositions, PaperUnits or PaperSizes? This affects -dBMP256, but as far as I remember not -dBMP...
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Big Data Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!