Adding variable window matrix to GUI.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Rik
le 11 Avr 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!