Sorting of geographic coordinates

조회 수: 1 (최근 30일)
Darlington Mensah
Darlington Mensah 2018년 11월 23일
댓글: Darlington Mensah 2018년 11월 23일
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
madhan ravi
madhan ravi 2018년 11월 23일
Try 'xk' as marker in plot function
Darlington Mensah
Darlington Mensah 2018년 11월 23일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by