필터 지우기
필터 지우기

Generated figures are not opening

조회 수: 1 (최근 30일)
Yasmin Samy
Yasmin Samy 2020년 9월 13일
댓글: Yasmin Samy 2020년 9월 13일
Hi all!
Currently, the figures generated from my code are not opening. They are generated but appear as either gray or black box when you hover on the window in the task bar. Attached is a print screen. If i double click on these windows nothing happens. To open i have to right click then maximize the figures. I am also unable to change the window size when i maximize it.
Although i had adjusted a specific figures size but i am not able to see that.
fig1= figure('OuterPosition',...
[0.266666666666667 0.195238095238095 0.458928571428571 0.747619047619048]);
Any solution?
I tried restarting but that didn`t help.

답변 (1개)

madhan ravi
madhan ravi 2020년 9월 13일
  댓글 수: 1
Yasmin Samy
Yasmin Samy 2020년 9월 13일
thanks Madhan
but the problem was this line
fig1= figure('OuterPosition',...
[0.266666666666667 0.195238095238095 0.458928571428571 0.747619047619048]);
Solution:
set(fig1,'units','normalized','outerposition', [0.266666666666667 0.195238095238095 0.458928571428571 0.747619047619048]);
this worked!
I am not sure why the first line didn't work though...

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

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by