Sorting of geographic coordinates

2 views (last 30 days)
Darlington Mensah
Darlington Mensah on 23 Nov 2018
Commented: Darlington Mensah on 23 Nov 2018
I have an excel file with X - Y coordinates. Plotting the file using the scatter plot, i get this:
teste.png
Howerver, when I plot the same shape file (using the plot option), exported to excel, I get this:
untitled.png
Which is because my data is not arranged properly. How can I properly arrange/sort the excel file so i get something similar to the first image when i use the plot option?
  2 Comments
madhan ravi
madhan ravi on 23 Nov 2018
Try 'xk' as marker in plot function
Darlington Mensah
Darlington Mensah on 23 Nov 2018
What i need to do is to sort my coordinates clockwise or anticlockwise such that i can get a defined polygon with the plot option. I do not seek to change the marker

Sign in to comment.

Answers (0)

Categories

Find more on Geographic 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!