Combine fig files into one fig file?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abdullah Türk
le 16 Juil 2020
Commenté : Abdullah Türk
le 18 Juil 2020
Hi,
I have 3 fig files and want to combine them into one fig file. (as below picture).
I ran the code presented in the link below but it didn't.
Thanks.
0 commentaires
Réponse acceptée
Sugar Daddy
le 16 Juil 2020
Modifié(e) : Sugar Daddy
le 17 Juil 2020
close all
open('Deney 1_1.fig')
open('Deney 1_2.fig')
open('Deney 1_3.fig')
%
f1 = figure(1);
f2 = figure(2);
f3 = figure(3);
f4 = figure;
copyobj(f1.Children,f4);
copyobj(f2.Children,f4);
copyobj(f3.Children,f4);
ax_all = findobj(f4,'Type','axes');
f = figure;
tiledlayout(3,3)
for i =9:-1:1
nexttile
ax_all(i).Position =get(gca,'Position');
end
close(f)
Pay my Regards to Esra Bilgiç
close all
open('Deney 1_1.fig')
open('Deney 1_2.fig')
open('Deney 1_3.fig')
%
f1 = figure(1);
f2 = figure(2);
f3 = figure(3);
f4 = figure;
copyobj(f1.Children,f4);
copyobj(f2.Children,f4);
copyobj(f3.Children,f4);
ax_all = findobj(f4,'Type','axes');
f = figure;
for ii =9:-1:1
subplot(340-ii)
ax_all(ii).Position =get(gca,'Position');
end
close(f)
And again
5 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!