Add storm time and date to the trajectory plot of tropical cyclone.

6 次查看(过去 30 天)
Hey there I have the lat lon of the observed track of a tropical cyclone. I plotted it on the map using m_map, plotm. Now I want to add date and time of occurence of the storm track, putting a marker at locations of the track in every 3 hour duration. How to do it ?

回答(1 个)

KSSV
KSSV 2016-8-3
doc text...
text takes x,y position and data to be written at (x,y)
  2 个评论
Add
Add 2016-8-3
This is not about adding one date and one time. The date and time are stored in 1st column of the data and I want to add it to the respective location of the marker. the code looks like this
whitebg('w')
load coast
m_proj('mercator','long',[78 98],'lat',[06 24]);
axesm('MapProjection','mercator','MapLatLimit',[06 24],'MapLonLimit',[78 98]);
framem
m_coast('patch',[0.7 0.7 0.6]);
m_grid('box','fancy','tickdir','in');
hold on
H=P(:,1);
for i=1:1:length(H);
plotm(P(i,2),P(i,3),'*','color','k','Linewidth',2);
end
hold off
Now I want to add date from column 1 (H), to the locations of the plot.
KSSV
KSSV 2016-8-4
How many number it may be.....put the locations matrix and data matrix in the text...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by