Selecting all data with brush in a figure

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?

Risposte (1)

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

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Tag

Richiesto:

Ash
il 3 Lug 2012

Community Treasure Hunt

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

Start Hunting!

Translated by