필터 지우기
필터 지우기

catch UIAxes in figure

조회 수: 7 (최근 30일)
aldo
aldo 2023년 10월 11일
댓글: Adam Danz 2023년 10월 11일
how catch UIAxes in new figure?
figure;

채택된 답변

Angelo Yeo
Angelo Yeo 2023년 10월 11일
Use uifigure instead of a generic figure.
fig = uifigure;
ax = uiaxes(fig);
  댓글 수: 1
Adam Danz
Adam Danz 2023년 10월 11일
The key is to specify the figure handle as @Angelo Yeo demonstrated above. You can use figure or uifigure but in uifigures the HandleVisibility property is off by default so if you call axes() or uiaxes() without specifying the figure handle, the axes will go into a new figure.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by