isuifigure

버전 1.0.0 (1.3 KB) 작성자: Alain Barraud
check for figure versus uifigure
다운로드 수: 11
업데이트 날짜: 2022/5/19

라이선스 보기

Today gui can be developped within figure or uifigure. It may be useful to write codes which are compatible with the two alternatives, according to user preference for example.
In this case, it is frequently necessary to check if the current graphical object is a figure or uifigure or its figure ancestor. The short function isuifigure answers to the question.
For example:
hf=uifigure;ax=axes(hf);
isuifigure(hf) or isuifigure(ax) gives true
hf=figure;ax=axes(hf);
isuifigure(hf) or isuifigure(ax) gives false
(not tested on macOS or Linux platform)

인용 양식

Alain Barraud (2024). isuifigure (https://www.mathworks.com/matlabcentral/fileexchange/111850-isuifigure), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022a
R2016a 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0