Adding variable window matrix to GUI.
3 次查看(过去 30 天)
显示 更早的评论
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).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/960480/image.png)
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 个评论
Rik
2022-4-11
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!