Adding variable window matrix to GUI.

2 次查看(过去 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).
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
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.
Aristarchos Mavridis
I was not aware of uitable. Thank you for the suggestion Rik!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by