Adding variable window matrix to GUI.

2 visualizaciones (últimos 30 días)
Aristarchos Mavridis
Aristarchos Mavridis el 11 de Abr. de 2022
Comentada: Aristarchos Mavridis el 11 de Abr. de 2022
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 comentarios
Rik
Rik el 11 de Abr. de 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 el 11 de Abr. de 2022
I was not aware of uitable. Thank you for the suggestion Rik!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by