Main Content

matlab.graphics.GraphicsPlaceholder 클래스

네임스페이스: matlab.graphics
슈퍼클래스: matlab.graphics.Graphics

디폴트 그래픽스 객체

설명

matlab.graphics.GraphicsPlaceholder 클래스는 디폴트 그래픽스 객체를 정의합니다. 이 클래스의 인스턴스는 다음으로 표시됩니다.

  • gobjects로 생성된, 사전할당(Preallocation)된 배열의 요소

  • 할당되지 않은 배열 요소 자리 표시자

  • 객체 핸들을 보유하지만 빈 값으로 설정된 그래픽스 객체 속성

  • 객체 핸들을 반환하는 함수(예: findobj)가 반환한 빈 값

특성

Sealedtrue
ConstructOnLoadtrue
HandleCompatibletrue

클래스 특성에 대한 자세한 내용은 클래스 특성 항목을 참조하십시오.

예제

모두 축소

if isempty(get(groot,'CurrentFigure'))
   ... % There is no current figure
end