Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How do I set the dimensions for a figure?

조회 수: 1 (최근 30일)
Anonymous
Anonymous 2018년 9월 9일
마감: MATLAB Answer Bot 2021년 8월 20일
I want my figure to be 6inches wide and 4 inches tall, but to keep the scales on the y and x axis. How do I do this?

답변 (1개)

Walter Roberson
Walter Roberson 2018년 9월 9일
You can set the figure Units property to inches and Position to be [xbase ybase xbase+6 ybase+4] with xbase and ybase to be determined by the lower left corner position.
This should not affect the X and Y axis scales, if by that you mean the data range that is displayed.
I wonder, though, whether you should instead be looking at the figure PaperPosition and PaperPositionMode, which have to do with the size that a figure should render at when you use print() or saveas() ?

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by