フィルターのクリア

Creating an Animation of the World from Discrete Blocks

2 ビュー (過去 30 日間)
Stuart-James Burney
Stuart-James Burney 2019 年 12 月 17 日
Consider a map of the world. This map has been separated into 108 blocks, and I have been given data on each block. I thought if I could create an animation for each block, I could then merge all 108 animations to form an animation of the world. The following script appears to create an animation for a single block.
ncfile2 = 'mhw_severity.pc90.0to30.30to50.1981.2019.nc' ; % nc file
lat=ncread(ncfile2,'lat');
lon=ncread(ncfile2,'lon');
ssta=ncread(ncfile2,'ssta');
for i=1:1000
imagesc(lat,lon,ssta(:,:,i))
i
pause(0.001)
end
Is there a more efficient way that this can be achieved?

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulation についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by