app designer UIAxes plot
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
app.Image.ImageSource = data;
hold(uiaxes,'on')
plot....
the code is above, I want to add a plot in the image, but how to determine the "UIAxes" ?
for help
thank you
1 Kommentar
Geoff Hayes
am 29 Apr. 2020
lenwen - wouldn't you have added an uiaxes to your app and perhaps accessible via app.UiAxes?
Antworten (1)
Adam Danz
am 29 Apr. 2020
Bearbeitet: Adam Danz
am 4 Mai 2020
You have the right idea to specify an axis handle but it looks like you're not using the handle.
uiax = uiaxes(); % Create the UIAxes, store the handle.
hold(uiax, 'on') % specify the UIAxes
plot(uiax, x, y) % specify the UIAxes
0 Kommentare
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!