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

조회 수: 4 (최근 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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by