UIAxes - Remove Brushed Data through button click Callback.
이전 댓글 표시
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
Mario Malic
2023년 9월 4일
I would suggest to take a look at UIFigure property called SelectedObject, it might detect a datatip object, but I am not sure.
Jordan
2023년 9월 6일
Mario Malic
2023년 9월 6일
Apologies, I totally misunderstood your question.
Can you please explain what you want to again?
Jordan
2023년 9월 6일
Mario Malic
2023년 9월 6일
So, you want to reuse the context menu option "Replace with NaNs" that operates on brush data?
Mario Malic
2023년 9월 6일
Or you want to remove the brushed data without using the context menu, but using a button or something else?
Jordan
2023년 9월 6일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!