how to plot the results of consequent runs in one graph?

3 vues (au cours des 30 derniers jours)
ali mohebi
ali mohebi le 25 Nov 2018
hi all
i have the file b2, uploaded here. this file is created after each run. i want to plot the column under 'FOE' vs the column under 'YEARS' for each run(there are 32 consecutive runs), but all in one grah. in a for loop used it just plots the last one. how can i do that?

Réponse acceptée

madhan ravi
madhan ravi le 25 Nov 2018
use hold on after plot command inside loop

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center 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