필터 지우기
필터 지우기

size(figure)=[1,1] Why?

조회 수: 4 (최근 30일)
Claire Redfield
Claire Redfield 2013년 2월 18일
Hello guys,
When i make an empty figure like hFig = figure, why size(hFig)= size(figure)=[1,1] ? Apparently the figure shown on the screen is not 1 by 1 pixels...

채택된 답변

Jan
Jan 2013년 2월 18일
편집: Jan 2013년 2월 18일
The figure command replies a handle, which identifies the GUI object uniquely. This handle is a scalar double, see:
figureHandle = figure
size(figureHandle)
You want:
figureHandle = figure;
figureSize = get(figureHandle, 'Position')

추가 답변 (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