MATLAB Answers

Plotting of data on the same graph by same script

1 view (last 30 days)
Aayush Somani
Aayush Somani on 26 Jun 2020
Edited: Aditya Gupta on 26 Jun 2020
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.

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!