Brush data can not be obtained
Show older comments
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 Comment
Walter Roberson
on 14 Nov 2018
The discussion got moved to https://www.mathworks.com/matlabcentral/answers/25597-how-can-i-save-the-brushed-data-to-a-variable
Answers (3)
Walter Roberson
on 6 Jan 2012
0 votes
1 Comment
Rifat Tolga KIRAN
on 7 Jan 2012
Rifat Tolga KIRAN
on 7 Jan 2012
0 votes
2 Comments
Walter Roberson
on 7 Jan 2012
Do you get an error message? Do you get the wrong data? Does it fail to find any objects with brushdata ?
Image Analyst
on 7 Jan 2012
Then why did you mark your question as solved?
Rifat Tolga KIRAN
on 7 Jan 2012
0 votes
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!