How can I insert my MATLAB figure (.fig) files into multiple subplots?
Mostra commenti meno recenti
I have two MATLAB figure (.fig) files which I would like to insert into the subplots of a new figure.
Risposta accettata
Più risposte (1)
Eric Sargent
il 9 Dic 2020
openfig('fig1.fig');
ax1=gca;
openfig('fig2.fig')
ax2=gca;
figure;
tcl=tiledlayout(1,2);
ax1.Parent=tcl;
ax1.Layout.Tile=1;
ax2.Parent=tcl;
ax2.Layout.Tile=2;
2 Commenti
Eric Sargent
il 19 Gen 2022
Can you add some example code and/or screenshots, please? It's working with the examples I've been testing, so I'm curious to learn more about what's happening for you and Moritz.
Eric Sargent
il 10 Mag 2022
Thanks @Tony Castillo
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!