Borrar filtros
Borrar filtros

Brush data can not be obtained

13 visualizaciones (últimos 30 días)
Rifat Tolga KIRAN
Rifat Tolga KIRAN el 6 de En. de 2012
Comentada: Walter Roberson el 14 de Nov. de 2018
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.

Respuestas (3)

Walter Roberson
Walter Roberson el 6 de En. de 2012
  1 comentario
Rifat Tolga KIRAN
Rifat Tolga KIRAN el 7 de En. de 2012
It's not resolved yet. Can we change the status?

Iniciar sesión para comentar.


Rifat Tolga KIRAN
Rifat Tolga KIRAN el 7 de En. de 2012
i have tried this in the begining but it didnt work for me :(
  2 comentarios
Walter Roberson
Walter Roberson el 7 de En. de 2012
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 el 7 de En. de 2012
Then why did you mark your question as solved?

Iniciar sesión para comentar.


Rifat Tolga KIRAN
Rifat Tolga KIRAN el 7 de En. de 2012
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'?

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by