Creating a video playback for lat/longs of ocean buoys

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

回答 (2 件)

Michael Ant
Michael Ant 2014 年 7 月 14 日

0 投票

Attached is the .mat file with the array data.
Mike
Michael Ant
Michael Ant 2014 年 7 月 17 日

0 投票

Does nobody know how to do this?

カテゴリ

ヘルプ センター および File ExchangeAnimation についてさらに検索

製品

質問済み:

2014 年 7 月 14 日

回答済み:

2014 年 7 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by