Brush data can not be obtained
15 次查看(过去 30 天)
显示 更早的评论
I am working on a program which includes brushing datas on a plot. Supposing that we have a script like this:
clear;clc;close;
plot(randn(100,1));
h = brush;
set(h,'Enable','on');
and i want to get the selected data in a variable. What should i do? i am researhing this issue for 2 days but i couldnt catch a clue. Thank you for your interests.
1 个评论
Walter Roberson
2018-11-14
The discussion got moved to https://www.mathworks.com/matlabcentral/answers/25597-how-can-i-save-the-brushed-data-to-a-variable
回答(3 个)
Rifat Tolga KIRAN
2012-1-7
2 个评论
Walter Roberson
2012-1-7
Do you get an error message? Do you get the wrong data? Does it fail to find any objects with brushdata ?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!