Add coordinate points (latitude and longitude) on a figure
3 views (last 30 days)
Show older comments
Hi, I have the coordinates of some climate stations over a country in the coordinates.mat. The 3rd and 4th column of coordinates.mat represents latitude and longitude of each station. I need to show the locations of stations on the figure to understand the distribution of stations over the country.
here is the code that creates the country figure. NB: The borders function is taken from the MATLAB File Exchange
borders('Iran Islamic Republic of') % border is a 3rd party code from matlab file exchange
grid on
ax.GridLineStyle = '-';
% Modify the X and Y ticks positions
xticks(44:.5:65);
yticks(25:.5:40);
I attached coordinates.mat
Thank you very much
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Axis Labels 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!