saving image with 'print' using specified width but maintaining aspect ratio
2 次查看(过去 30 天)
显示 更早的评论
I want to save an image using the 'print' command by passing it a width (say 6.0 inches) but want to retain the aspect ratio. How can I do this? The help page only gives me two options: save at the same size as the figure window or use the 'fillpage' option, neither of which are useful for my purpose.
Any help is appreciated.
1 个评论
Jess Lovering
2019-11-12
I have had more luck with exporting graphics using the export_fig function that is on Matlab Central. It has some more options and controls. You may want to check it out.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!