Filter löschen
Filter löschen

merging two plots of different program

2 Ansichten (letzte 30 Tage)
sadia sabahat
sadia sabahat am 1 Aug. 2019
Kommentiert: Walter Roberson am 2 Aug. 2019
how can i call another program so that i merge plots of these two programs.
  4 Kommentare
Jackson Burns
Jackson Burns am 1 Aug. 2019
Can you post your code so that we have more context for the issue?
Walter Roberson
Walter Roberson am 2 Aug. 2019
If you are using plot() of a graph() or digraph() object, then you can just
hold on
and plot additional items -- plot() of graph() and digraph() objects use regular axes

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 1 Aug. 2019
I woiuld save the plot created in the first script as a .fig file using the savefig function, then in the second script use openfig to load it into that script’s workspace and add whatever you want to it using the hold function. Then use savefig on it again, if you want to save the new figure as a .fig file.

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by