Can I gray out the UIAxes?

2 visualizaciones (últimos 30 días)
Mateusz Zagórski
Mateusz Zagórski el 2 de Oct. de 2023
Editada: Voss el 27 de Oct. de 2023
Can I gray out the UIAxes the same way I gray out a whole panel with buttons? I see that I can use
app.UIAxes.Visible = "on/off";
but it makes the plot appear/disappear and I want it to be grayed out.
  1 comentario
Mario Malic
Mario Malic el 2 de Oct. de 2023
You can make probably combine some color and transparency changes and change PickableParts to none to limit the interactivity. https://uk.mathworks.com/help/matlab/ref/matlab.ui.control.uiaxes-properties.html#bu6ewif_sep_shared-PickableParts

Iniciar sesión para comentar.

Respuesta aceptada

Mateusz Zagórski
Mateusz Zagórski el 27 de Oct. de 2023
Thanks for your ideas, but I've found that I can put it in the panel and graying out the panel will make the graph also grayed out
  4 comentarios
Mateusz Zagórski
Mateusz Zagórski el 27 de Oct. de 2023
Exactly. Plots unfortunately do not have this property afaik
Voss
Voss el 27 de Oct. de 2023
Editada: Voss el 27 de Oct. de 2023
That's right, axes and uiaxes do not have an Enable property, but panels do, and disabling a panel effectively disables whatever's in it, including axes and uiaxes (apparently).

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 2 de Oct. de 2023
To change just about anything you can think of on a graph see the attached demo.

Categorías

Más información sobre Spline Postprocessing 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