필터 지우기
필터 지우기

App Designer UIAxes is blank regardless of what I do

조회 수: 2 (최근 30일)
Israel Solha
Israel Solha 2019년 6월 17일
편집: Israel Solha 2019년 6월 17일
If I simply start a new App Designer project and drag the option "Axes (2D)" to the main canvas, I get the component app.UIAxes, but it is completely blank. While I'm dragging it, I can see the default labels, title, ticks, and so on, but whenever I drop it it just becomes blank. I also can't seem to make it work via code either, as shown below (image attached as well). Any ideas on why this is happening and a possible workaround?
function EditFieldValueChanged(app, event)
value = app.EditField.Value;
x=linspace(0,10);
y=value*x;
plot(app.UIAxes,x,y)
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by