How can I plot multiple graphs from another m-file to GUI axes?
Show older comments
Hi,
How I call GUI axes from another m-file? I have multiple axes in the GUI.
Now I use code like this: fH = hgload('Simulator_gui.fig'); aH = findobj(fH,'Type','axes'); axes1 = findobj(aH, 'Tag', 'graph1'); ... and then plot graph from the right spot... plot(axes1,eff_rank, 'bo-', 'color', [ 18 65 145 ]/255, 'linewidth', 2 );
This works but hgload doubles the GUI window and it is not what I want. It should plot graphs to one GUI.
How can solve this problem? If you have a better solution to do this than code above, please let me know.
Br, Teemu
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Object Properties 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!