Difference Between saveas and print Commands
Ältere Kommentare anzeigen
Why are image dimensions different when using saveas and print commands? Figure size is set to 560x420. Command saveas(1,'sa_01','bmp') yields image correct in size. Command print(1,'-dbmp256','pr_01.bmp') yields image incorrect in size - 576x432.
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 18 Jul. 2011
0 Stimmen
"Why" is something that many of us have stopped asking with regards to saveas() and print(). No offense intended to the fine folks at Mathworks, but the challenges associated with those functions have been around a long time, and I have not seen any indication that Mathworks has made updating them to be a priority.
If you want a routine that is much more reliable and which you can customize at need, please see Oliver's contribution export_fig
1 Kommentar
Milos
am 18 Jul. 2011
Kategorien
Mehr zu File Operations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!