필터 지우기
필터 지우기

Prevent "background" axis from having focus

조회 수: 1 (최근 30일)
Mark T
Mark T 2011년 11월 27일
Hi, sometimes I have a large axis in a figure window, which serves as a "background" (e.g. suplabel.m), and other axes containing plots inside its position bounds.
Is there a property to set for this "master axis" so that it never gets focus, e.g. when attempting to zoom in on data in one of the smaller axes?

답변 (1개)

Walter Roberson
Walter Roberson 2011년 11월 27일
No there is not. However, if you set the HitTest property of the axes to 'off' then the user would not be able to click on it with the mouse.
  댓글 수: 1
Mark T
Mark T 2011년 11월 29일
Hi. Thanks for the advice. I tried setting the HitTest property (as well as setting the current axis back to one of the others), but a test with the zoom still chooses the master axis (Matlab 7.5.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