combining figures of Classification Learner application

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...

Antworten (1)

Ibrahim KAYA
Ibrahim KAYA am 4 Nov. 2022

0 Stimmen

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));

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 4 Nov. 2022

Beantwortet:

am 4 Nov. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by