Problem on code while plotting a graph
Afficher commentaires plus anciens
I am plotting a graph, with the line:
figure;
hold on ;
.....
title('function');
.....
hold off;
But I ended up with an error of "Index exceeds array bounds." on the title line. How can I solve this?
4 commentaires
Angus Wong
le 19 Juin 2018
Modifié(e) : Angus Wong
le 19 Juin 2018
Paolo
le 19 Juin 2018
figure;
hold on ;
title('function');
hold off;
Works fine on my machine with 2017b, what Matlab version are you using?
Angus Wong
le 19 Juin 2018
Modifié(e) : Angus Wong
le 19 Juin 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
