How can I select an axis of a GUI figure by clicking on it in order to ploting it to a seperate figure outside of the GUI?
Show older comments
Hello, I have a GUI function with one axis. But depending on the value of a variable named ChannelNumbers, I plot 1 to 4 plots using subplot function. For example, if Channel number is 4, I use subplot(4,1,1 to 4) to plot 4 sets of data. If it is 2, I have two subplots (2,1,1) and (2,1,2)
The question is that I want to select among these subplots by clicking on each of them so that when I click on any of axes, the corresponding data would be plotted to a seperate figure outside of the GUI. How I can decide among axes by clicking on each of them?
Thank you in advance,
Accepted Answer
More Answers (0)
Categories
Find more on Subplots 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!