Problem on code while plotting a graph
Mostrar comentarios más antiguos
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 comentarios
Angus Wong
el 19 de Jun. de 2018
Editada: Angus Wong
el 19 de Jun. de 2018
Paolo
el 19 de Jun. de 2018
figure;
hold on ;
title('function');
hold off;
Works fine on my machine with 2017b, what Matlab version are you using?
Angus Wong
el 19 de Jun. de 2018
Editada: Angus Wong
el 19 de Jun. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
