Want to draw two axes using a single popupmenu
Show older comments
I haven't used matlab gui before. I want to draw two plots using a popup menu. Suppose, I want to plot cm and mm values in two axes Using a popup menu which has multiple object names. So each time I select one option from popup menu it shows both cm and mm values in two different axes. Any help with an example is highly appreciated.
Accepted Answer
More Answers (1)
Munish Verma
on 12 Dec 2021
0 votes
plot(ax1, 1:50, randn(1,50));
plot(ax2, 1:50, randn(1,50)*10);
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!
