print quality in batch mode
Afficher commentaires plus anciens
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 commentaire
Jan
le 13 Sep 2012
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...
Réponses (0)
Catégories
En savoir plus sur Big Data Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!