Selecting all data with brush in a figure
조회 수: 8 (최근 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에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!