plot different trajectories with different time steps
Show older comments
Hello,I would like to plot air parcel trajectories. My output data are: in the first column the steps, in the 2nd and 3rd column the geographic coordinates. To the first airparcel belongs 4 steps (1..4), to the second one 3 (1..3) to the 3rd one 3 (1..3)..ect...(These steps are after eachother in the same column). I would like to plot the air parcel positions with a marker and connect them, but my problem is that to different air parcels belong different steps. How could I plot separately the first, second, 3rd..ect trajectories? Thanks for any help!
4 Comments
dpb
on 12 Aug 2014
How do you know which belongs to which, first? Once you have that, shouldn't be hard to segregate by the indicator, but have to have some way to know "who's who in the zoo"...
Michael
on 13 Aug 2014
so I'm guessing you have data like this:
0 lat lon 1 lat lon 2 lat lon 0 lat lon
and then you need to seperate it so that you can plot each trajectory (e.g. from 0-2) and then start again from 0 onwards?
So basically the zero is the start of each trajectories?
Michael
on 13 Aug 2014
And you would like to plot these trajectories on top of a map projection?
Barbara
on 13 Aug 2014
Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!