I have the scatter diagram and I want the coordinates of each point

1 view (last 30 days)
Ang Vas
Ang Vas on 4 Jun 2015
Commented: Ang Vas on 4 Jun 2015
What I want is, if I have the scatter diagram, how can I take the coordinates of each and every point in a matrix or in a vector?
luc on 4 Jun 2015
Could you add some sample A data? It seems to me the
scatter(c+offx,r+offy,'.', 'b')
line contains the X and Y data. So X_new and Y_new becomes:

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 4 Jun 2015
How did you generate the picture? If it was via MATLAB, then why don't you know the coordinates already?
Or else, call ginput() or impoints(). You will also have to click on the start and stop of the x and y axes so that you can locate the origin and a spatial calibration factor.

Community Treasure Hunt

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

Start Hunting!