How to get uifigure handle to pass to box plot

2 visualizaciones (últimos 30 días)
Michael L
Michael L el 17 de Jul. de 2017
Respondida: Walter Roberson el 17 de Jul. de 2017
Hi,
I'm developing a GUI with App Designer. I've created a button where the user inputs a few files via uigetfile. Afterwards, I want to display the results in a boxplot (using the Statistical toolbox) in the GUI. I made a plot (UIAxes 2D) in the GUI. How to I get the handle to pass it on to the boxplot?
  1 comentario
Michael L
Michael L el 17 de Jul. de 2017
MVP is to create a pushbutton and a Axes2D.
On button pushed: a = rand(3,30); boxplot(app.UIAxes, a);

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Jul. de 2017
boxplot is not supported by app designer https://www.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html

Más respuestas (0)

Categorías

Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by