Borrar filtros
Borrar filtros

Prevent "background" axis from having focus

1 visualización (últimos 30 días)
Mark T
Mark T el 27 de Nov. de 2011
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de Nov. de 2011
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 comentario
Mark T
Mark T el 29 de Nov. de 2011
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).

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by