How can I plot peaks using findpeaks in a UIAxes in App Designer ?
1 view (last 30 days)
Show older comments
I am currently looking for a way to insert a plot using the findpeaks function into a UIAxes figure in App Designer. Is it only possible to do so or the only possibility is to plot it in an extern figure ? Thank you in advance for your answer.
0 Comments
Answers (1)
Veda Upadhye
on 14 Nov 2017
Hi,
Yes, you can insert a plot into UIAxes in App Designer.
On opening App Designer, you can add the UIAxes to the figure using the Component Library.
To add your plot, switch to the Code View and add a Callback named "startupFcn".
Insert your code here. This will execute on startup. (You can also include the code in a callback function depending on your workflow)
Here is an example for your reference:
https://www.mathworks.com/help/matlab/creating_guis/simple-app-designer-example-apps.html
Hope this helps,
Veda
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!