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!