Creating a gui with variable axes

1 view (last 30 days)
Hemanth
Hemanth on 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.

Answers (2)

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

Sign in to comment.


Hemanth
Hemanth on 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 Comment
Siddharth Shankar
Siddharth Shankar on 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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!