Selecting all data with brush in a figure
13 次查看(过去 30 天)
显示 更早的评论
I Want to select all points of a figure by mentioning the brush command in code. and then I require to save all pints of graph. Can any1 help?
0 个评论
回答(1 个)
Ilham Hardy
2012-7-3
Just a wild guess:
- You already have the graph (.fig file)
- and you need to retrieve the values of the graph
Then do these,
- Open you graph (double click .fig file)
- type
lh= findall(gcf,'type','line')
xp=get(lh,'xdata');
yp=get(lh,'ydata');
HTH,
IH
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!