Plotting data from one GUI to other
Afficher commentaires plus anciens
Hello Everyone
I have a doubt regarding plotting the data that is being generated in one GUI, in another window which consists of just an axes and a pushbutton (Save as). I am using the function 'plot' in the first GUI and want to pass the handle of the axes (present in the second GUI) to the first so that data generated will be plot in the second GUI. I am trying to use the sharing method with guidata.
Thanks in advance.
Réponse acceptée
Plus de réponses (3)
nl2605
le 18 Juil 2013
0 votes
nl2605
le 18 Juil 2013
0 votes
nl2605
le 18 Juil 2013
0 votes
1 commentaire
Dishant Arora
le 18 Juil 2013
It would also work.
h = findobj(SecondGui , 'type' , 'axes')
or the above statement will return handles to all the axes. h will be a vector.
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!