how to merge two plots

i want to merge two plots of different m files. how can it be done? is there any matlab command for that.

1 Comment

Jan
Jan on 4 Nov 2015
It depends on what "merge" means here exactly. You can draw a plot into an existing axes.

Sign in to comment.

Answers (2)

if you want to add to plots in one figure:
hold on
if else please illustrate your question definetly
sadia sabahat
sadia sabahat on 1 Aug 2019

0 votes

i have same question how can i call another program so that two different plots merge

1 Comment

Sometimes it is as easy as calling
hold on
and invoking the second program. But sometimes it can get considerably more difficult, depending exactly how the second program does the plotting.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Asked:

on 4 Nov 2015

Commented:

on 1 Aug 2019

Community Treasure Hunt

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

Start Hunting!