combining figures of Classification Learner application

2 次查看(过去 30 天)
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...

回答(1 个)

Ibrahim KAYA
Ibrahim KAYA 2022-11-4
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));

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by