Plotting of data on the same graph by same script

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.

 Réponse acceptée

Aditya Gupta
Aditya Gupta le 26 Juin 2020
Modifié(e) : Aditya Gupta le 26 Juin 2020

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by