How can I insert my MATLAB figure (.fig) files into multiple subplots?
Ältere Kommentare anzeigen
I have two MATLAB figure (.fig) files which I would like to insert into the subplots of a new figure.
Akzeptierte Antwort
Weitere Antworten (1)
Eric Sargent
am 9 Dez. 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 Kommentare
Eric Sargent
am 19 Jan. 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
am 10 Mai 2022
Thanks @Tony Castillo
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!