Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Add
Add le 3 Août 2016
Commenté : KSSV le 4 Août 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 ?

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Dates and Time dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by