How to get values from the plot
2 views (last 30 days)
Show older comments
Hello, can somebody show me how can I get values of the dots from the plot, perhaps into the matrix... X=[1 1 0; 2 2 0; 3 5 1 ; 6 4 0], where X(:,1)->x , X(:,2) ->y , X(:,3)->species...
0 Comments
Accepted Answer
Jamie
on 25 Oct 2013
Hi Josef, have a look here - http://www.mathworks.com.au/support/solutions/en/data/1-A6PBV2/ there is also an example for obtaining data from figures on stack overflow here - http://stackoverflow.com/questions/11233180/retrieving-x-and-y-values-from-matlab-plot
More Answers (0)
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!