How to get uifigure handle to pass to box plot

조회 수: 2 (최근 30일)
Michael L
Michael L 2017년 7월 17일
답변: Walter Roberson 2017년 7월 17일
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
Michael L
Michael L 2017년 7월 17일
MVP is to create a pushbutton and a Axes2D.
On button pushed: a = rand(3,30); boxplot(app.UIAxes, a);

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 7월 17일
boxplot is not supported by app designer https://www.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by