Adding variable window matrix to GUI.

2 views (last 30 days)
I am routinely using a number of scripts I wrote for some data analysis, but I would like to incorporate them in a tidy gui so other people from my group can use them with ease as well.
Part of the process involves deleting some unwanted data points. To do that, I open the data variable window, and I use a linked surf plot as a guide, to see which areas I have to delete (see example below).
My question is: Would it be possible to view these two windows in a single GUI, and have the surf plot still respond to the changes in the variable window?
P.S. : Would be lovely if I could use the surf plot, or a contour plot, to select and delete the data directly from it, but I could not find any way to do that, so any answers on this would be very helpful as well!
  2 Comments
Rik
Rik on 11 Apr 2022
Probably not directly, but you coul use a uitable. The callback function could then modify the underlying data of the surface object.
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
Aristarchos Mavridis
Aristarchos Mavridis on 11 Apr 2022
I was not aware of uitable. Thank you for the suggestion Rik!

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!