saving image with 'print' using specified width but maintaining aspect ratio

7 ビュー (過去 30 日間)
oceanmod
oceanmod 2019 年 11 月 12 日
コメント済み: Jess Lovering 2019 年 11 月 12 日
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
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 ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by