Plotting regions of interest using plotsigroi() in app designer
9 views (last 30 days)
I am designing an app with app designer and would like to know if there is any way that you can assign a specific UIAxes to the plotsigroi() method? I have used the Regions of Interest in Audio File example (MATLAB command: openExample('signal/RegionsOfInterestInAudioFileExample')) and my code works in a normal live script as well as app designer, although it creates a new figure for the plot. I would like the plot to be displayed on a specified axes on my GUI.
Harikrishnan Balachandran Nair on 22 Oct 2021
You can copy the 'axes' returned by the 'plotsigroi' function to the required destination using the 'copyobj' function.
You may refer to a similar question here : https://www.mathworks.com/matlabcentral/answers/444601-copying-the-content-of-a-figure-to-another-figure