Sorting of geographic coordinates

2 visualizaciones (últimos 30 días)
Darlington Mensah
Darlington Mensah el 23 de Nov. de 2018
Comentada: Darlington Mensah el 23 de Nov. de 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 comentarios
madhan ravi
madhan ravi el 23 de Nov. de 2018
Try 'xk' as marker in plot function
Darlington Mensah
Darlington Mensah el 23 de Nov. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Geographic Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by