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

조회 수: 5 (최근 30일)
Add
Add 2016년 8월 3일
댓글: KSSV 2016년 8월 4일
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에서 Axes Appearance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by