How can you display a Matlab figure stored on your computer in App Designer on the panel and plot on top of said figure?
Ältere Kommentare anzeigen
I need to take a plot saved from a script and display it on the App Designer panel. I also need the ability to plot additional points on this figure.
Antworten (1)
Reshma Nerella
am 21 Jun. 2021
0 Stimmen
Hi,
One possible solution is that,
- You can pass the UIAxes of the app as an argument to the function which has the script.
- While using plot in the script, set the parent to the UIAxes of the app.
- Set hold (app.UIAxes, 'on');
- Plot the required extra points.
Hope this helps!
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!