Combining already plotted figures into one figure

3 views (last 30 days)
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.

Answers (1)

Anshika Chourasia
Anshika Chourasia on 12 Oct 2021
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).

Categories

Find more on Graphics Objects in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!