Creating a gui with variable axes

1 visualización (últimos 30 días)
Hemanth
Hemanth el 26 de En. de 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.

Respuestas (2)

Siddharth Shankar
Siddharth Shankar el 26 de En. de 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 comentarios
the cyclist
the cyclist el 26 de En. de 2011
That link gives me a Page Not Found error.
Siddharth Shankar
Siddharth Shankar el 26 de En. de 2011
Thanks for letting me know, I fixed the link.

Iniciar sesión para comentar.


Hemanth
Hemanth el 27 de En. de 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 comentario
Siddharth Shankar
Siddharth Shankar el 27 de En. de 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.

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by