Combining already plotted figures into one figure

So i have these two figures plotted in matlab. My assignment is two have them seperate while also having a figure with both lines in it. I cant seem to find any help getting them to merge.

回答 (1 件)

Anshika Chourasia
Anshika Chourasia 2021 年 10 月 12 日

0 投票

Hi,
Please refer this link for combining two figures into a single figure: Merging two figures - MATLAB Answers - MATLAB Central (mathworks.com) .
Or simply, “hold on” could also be a possible workaround. Visit link for more information: Retain current plot when adding new plots - MATLAB hold (mathworks.com).

カテゴリ

ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索

製品

リリース

R2019a

質問済み:

2021 年 9 月 29 日

回答済み:

2021 年 10 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by