Creating a gui with variable axes

1 vue (au cours des 30 derniers jours)
Hemanth
Hemanth le 26 Jan 2011
I'm new to MATLAB GUI programming. I wish to create a gui in which i can change the axes x and y interactively to see the plot between any two variables just by choosing from the popup menu and clicking an update button. I also wish to attach this to a real time system so that i can get a continuous plot of the desired variables. Initially, i want to try it with some raw input data which i want to access from a word file to the gui created m-file.

Réponses (2)

Siddharth Shankar
Siddharth Shankar le 26 Jan 2011
As far as "variable axes" goes, one approach you could take is to "link" your data to the axes. Then, when you change the data, the information displayed on the axes is automatically refreshed / updated. You can find more information here:
  2 commentaires
the cyclist
the cyclist le 26 Jan 2011
That link gives me a Page Not Found error.
Siddharth Shankar
Siddharth Shankar le 26 Jan 2011
Thanks for letting me know, I fixed the link.

Connectez-vous pour commenter.


Hemanth
Hemanth le 27 Jan 2011
I also wanted to know if you could guide me about the programming of the respective callbacks in this gui. The data i have is from the readings of a underwater system so it is very vague, plotting with that data is difficult because there exists no relation with either of the variables atleast to some extent. The problem of real time approach is also not solved. Thank you!!
  1 commentaire
Siddharth Shankar
Siddharth Shankar le 27 Jan 2011
>> "I also wanted to know if you could guide me about the programming of the respective callbacks in this gui."
Hemanth, I would suggest building your GUI in an iterative manner. Break your problem down into multiple smaller ones, and if you run into any issues there, please post a more specific question with details on exactly what you tried, and the issues that you are running into.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by