Clear Filters
Clear Filters

combining figures of Classification Learner application

2 views (last 30 days)
Hello everbody, Figures showing two different curves in Matlab can be combined with the following codes. For example, sine and cosine curves;
There is another situation in different figures obtained from the Classification Learner application. Rather than overlapping, the figures cover each other.
We would be glad if you could help with this.
Attached are the corresponding figure files.
Best regards...

Answers (1)

Ibrahim KAYA
Ibrahim KAYA on 4 Nov 2022
fh1 = open('cs.fig');
fh2 = open('sn.fig');
ax1 = get(fh1, 'Children');
ax2 = get(fh2, 'Children');
ax2p = get(ax2(1),'Children');
copyobj(ax2p, ax1(1));

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!