Add coordinate points (latitude and longitude) on a figure
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!