Filter löschen
Filter löschen

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

4 Ansichten (letzte 30 Tage)
Add
Add am 3 Aug. 2016
Kommentiert: KSSV am 4 Aug. 2016
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 ?

Antworten (1)

KSSV
KSSV am 3 Aug. 2016
doc text...
text takes x,y position and data to be written at (x,y)
  2 Kommentare
Add
Add am 3 Aug. 2016
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 am 4 Aug. 2016
How many number it may be.....put the locations matrix and data matrix in the text...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by