Creating an Animation of the World from Discrete Blocks

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Animation 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by