필터 지우기
필터 지우기

figure size in matlab is not precise on the screen

조회 수: 3 (최근 30일)
Af
Af 2017년 4월 6일
댓글: Af 2017년 4월 7일
Hi,
I run a a very simple command to set the figure size:
set(gcf, 'units','centimeters','position',[2 3 20 10])
I expect that the size of the figure would exactly match with what I set above but when I measure it on the screen, it deviates quite a bit from the set values?
  댓글 수: 2
Stephen23
Stephen23 2017년 4월 6일
편집: Stephen23 2017년 4월 6일
@Af: what is your screens native resolution, and what is the display resolution set to?
Af
Af 2017년 4월 7일
Hi, they are both set to 2560 by 1440

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by