How to change automatically the name of the title ?

I'm trying to compute a system of ODE by using different solvers.How to change the legend and title automatically depends on solvers(i)? I want to plot a graph for each solver.

 Risposta accettata

Jeff Miller
Jeff Miller il 23 Apr 2018
Looks like you need a "figure;" command inside the loop to start a new figure window for each solver. I think you are now drawing all plots in the same window, so you only see the last one.

1 Commento

yeah, you are right I forgot to add figure(i), thank you so much

Accedi per commentare.

Più risposte (1)

Tag

Richiesto:

il 23 Apr 2018

Riaperto:

il 24 Apr 2018

Community Treasure Hunt

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

Start Hunting!

Translated by