how to import a saved figure into a subplot

6 views (last 30 days)
Romio
Romio on 31 May 2021
Answered: Jan on 1 Jun 2021
Hi
If I am saving multiple figures as say f1.fig, f2.fig and so on with specific settings that are already saved. How can I import these figure and put them in a subplot without replotting everything?
i.e.
Subplot(1,2,1)
figure f1
subplot(1,2,2)
figure f2
  1 Comment
Jan
Jan on 1 Jun 2021
It depends on the contents of the figures: GUIs? Only 1 axes or even multiple subplots?

Sign in to comment.

Answers (1)

Jan
Jan on 1 Jun 2021
You can create the subplots and copy the axes of the opened figures using copyobj.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!