Creating a video playback for lat/longs of ocean buoys
2 views (last 30 days)
Show older comments
I have the following 4 arrays that need to be plotted on a figure that can play me back the results.
- latbuoys: latitude of each buoy of 144 buoys
- lonbuoys: longitude of each buoy of 144 buoys
- buoytimes: 1X144 cell array that contains arrays of times for each buoy of the 144 buoys when values were returned
- buoyvalue: 1X144 cell array that contains 144 different arrays of values that correspond exactly to the times listed in each array of "buoytimes"
- maxtime: The last time of all the arrays in buoytimes
- mintime: The first time of all the arrays in buoytimes
I want to loop through all the times in "buoytimes", and plot the buoyvalue at the corresponding lat/lon. I want the buoyvalue (which will be either a 0,1,2,3,4, or 5) to be displayed as a 0,1,2,3,4, or 5 on the graph.
Finally, I want this figure to playback the buoyvalues as time increases from mintime to maxtime.
I cannot figure this out on my own. Attached is a picture of what the final product should look like. And also my data.
Appreciate it, Mike
0 Comments
Answers (2)
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!