Creating a gui with variable axes

1 次查看(过去 30 天)
Hemanth
Hemanth 2011-1-26
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.

回答(2 个)

Siddharth Shankar
Siddharth Shankar 2011-1-26
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 个评论
the cyclist
the cyclist 2011-1-26
That link gives me a Page Not Found error.
Siddharth Shankar
Siddharth Shankar 2011-1-26
Thanks for letting me know, I fixed the link.

请先登录,再进行评论。


Hemanth
Hemanth 2011-1-27
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 个评论
Siddharth Shankar
Siddharth Shankar 2011-1-27
>> "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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by