UIAxes - Remove Brushed Data through button click Callback.
Mostrar comentarios más antiguos
I have an app in app designer that containes a UIAxes in 2023a.
I currently enable the brush data function though a button click to allow user selection. Is it possible to use the "Remove Data" or "Replace with NANs" functionality that is normally accessed via a right click on the selected data, through a button click callback?
I'm unsure how to access the functionality in the code.
Thanks
8 comentarios
Mario Malic
el 4 de Sept. de 2023
I would suggest to take a look at UIFigure property called SelectedObject, it might detect a datatip object, but I am not sure.
Jordan
el 6 de Sept. de 2023
Mario Malic
el 6 de Sept. de 2023
Apologies, I totally misunderstood your question.
Can you please explain what you want to again?
Mario Malic
el 6 de Sept. de 2023
Jordan
el 6 de Sept. de 2023
Mario Malic
el 6 de Sept. de 2023
So, you want to reuse the context menu option "Replace with NaNs" that operates on brush data?
Mario Malic
el 6 de Sept. de 2023
Or you want to remove the brushed data without using the context menu, but using a button or something else?
Jordan
el 6 de Sept. de 2023
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Debugging and Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!