Borrar filtros
Borrar filtros

Selecting all data with brush in a figure

13 visualizaciones (últimos 30 días)
Ash
Ash el 3 de Jul. de 2012
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?

Respuestas (1)

Ilham Hardy
Ilham Hardy el 3 de Jul. de 2012
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

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by