How to display the name of my ODE used, as figure title?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I am trying to solve a Matlab code with too many sub-functions. I have created a function for all plots, and I handle with many figures. So I decided to name them based on time. But now I'm parallelly running three simulations of the same code with different solvers. So it would be better that if I name them with the solver used. I need to name them automatically, rather than renaming them each time when I change the solver.
Is there a way-...?
thank you in advance....
0 commentaires
Réponses (1)
Santhana Raj
le 19 Mai 2017
Modifié(e) : Santhana Raj
le 19 Mai 2017
The below code works in 2017a:
figure('Name','SolverName','NumberTitle','off')
2 commentaires
Santhana Raj
le 22 Mai 2017
You mentioned that you are running three simulations with different solvers. In each simulation, t=in the above command, replace the 'SolverName' with the respective solver name that you are using in that simulation.
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!