필터 지우기
필터 지우기

Brush data can not be obtained

조회 수: 13 (최근 30일)
Rifat Tolga KIRAN
Rifat Tolga KIRAN 2012년 1월 6일
댓글: Walter Roberson 2018년 11월 14일
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.

답변 (3개)

Walter Roberson
Walter Roberson 2012년 1월 6일
  댓글 수: 1
Rifat Tolga KIRAN
Rifat Tolga KIRAN 2012년 1월 7일
It's not resolved yet. Can we change the status?

댓글을 달려면 로그인하십시오.


Rifat Tolga KIRAN
Rifat Tolga KIRAN 2012년 1월 7일
i have tried this in the begining but it didnt work for me :(
  댓글 수: 2
Walter Roberson
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 ?
Image Analyst
Image Analyst 2012년 1월 7일
Then why did you mark your question as solved?

댓글을 달려면 로그인하십시오.


Rifat Tolga KIRAN
Rifat Tolga KIRAN 2012년 1월 7일
Oh sorry. This is my first time writting here. and i thought that accepting the answers would let it to be published. It is not resolved yet.
h = brush;
set(h,'Enable','on','ActionPostCallback',@GetSelectedData);
what kind of a function should i write to retrieve 'GetSeletedData'?

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by