Creating a video playback for lat/longs of ocean buoys
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!