Plotting of data on the same graph by same script

1 view (last 30 days)
The script runs first time and creates a set of data, then runs again creating new data.
I need to plot all data on same graph.

Accepted Answer

Aditya Gupta
Aditya Gupta on 26 Jun 2020
Edited: Aditya Gupta on 26 Jun 2020
Create an axes object and set the option for adding of new lines.
Read documentation for axes here : https://www.mathworks.com/help/matlab/ref/axes.html

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!