Keep plots results for several function calls

3 views (last 30 days)
I do have a matlab file that creates a figure with the plot function. I would like to restart my file with different parameters and have the new results plotted in the same figure from the previous function call.
What is the most elegant way to solve this? Many thanks.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 31 Jul 2015
Edited: Azzi Abdelmalek on 31 Jul 2015
Use hold on.
doc hold

More Answers (0)

Categories

Find more on Graphics Objects in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!