Difference Between saveas and print Commands
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Walter Roberson
il 18 Lug 2011
0 voti
"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 Commento
Milos
il 18 Lug 2011
Categorie
Scopri di più su File Operations in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!