Info

此问题已关闭。 请重新打开它进行编辑或回答。

Is it possible to retrieve plots at intermediate timesteps without running code again?

1 次查看(过去 30 天)
Is it possible to create an animated plot from a MATLAB code that's already run? My code takes a long time (to the tune of a few days) to run, and at each time step, a plot is generated but was not saved using, for instance, getframe. Is it possible to retrieve the plots at intermediate time steps without running the whole code again? given below is the pertinent portion of the code.
for tt=1:43000
%.......
%.......
if(mod(tt,tplot==0))
figure(1)
imagesc(rho)
colorbar
drawnow
figure(2)
imagesc(tem)
colorbar
drawnow
end
end

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by