getframe
📝 Syntaxe
📥 Argument d'entrée
📤 Argument de sortie
📄 Description
💡 Exemples
🔗 Voir aussi
🕔 Historique
Version
📄 Description
Last updated
Last updated
f = figure();
surf(peaks);
F = getframe(f);
figure('Color',[0.5 0.5 0.5]);
imshow(F.cdata)
f = figure();
ax1 = subplot(2,1,1);
surf(peaks);
ax2 = subplot(2,1,2);
plot(rand(30))
F1 = getframe(ax1);
F2 = getframe(ax2);
figure('Color',[0.5 0.5 0.5]);
imshow(F1.cdata)
figure('Color',[0.5 0.5 0.5]);
imshow(F2.cdata)