probleme getframe subplot
Bonjour,
je souhaiterai enregister une liste de plots pour en faire une animation, mais j'ai un probleme avec le "movie(.mat)"
En effet, voici ce que je fais, en bref :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| figure(1)
subplot(3,2,[1 4])
colormap(cmap);
hold on
imagesc(thelon, thelat, rot90(GOES_image, 5), [TBmin TBmax]);
set(gca, 'ydir', 'normal')
hold on
plot(long, lat, 'y-')
xlim([plotLONMIN plotLONMAX]);
ylim([plotLATMIN plotLATMAX]);
hold on
plot(lon_moz,lat_moz,'r','Linewidth',2)
plot(lon_moz(b),lat_moz(b),'Linewidth',5)
scatter(cllon1(indfile+tps),cllat1(indfile+tps),'r');
scatter(cllon2(indfile+tps),cllat2(indfile+tps),'b');
....
subplot(3,2,5)
...
subplot(3,2,6)
...
F(indfile)=getframe(gcf); |
avec indfile, l'indice de la boucle
Le probleme est que quand je lance movie(F), il ne m'affiche pas bien l'animation d'un point de vue graphique (position des figures,figures l'une apres l'autre)
Quelqu'un peut-il m'aider, s'il vous plait...
Jeremy