Problem on code while plotting a graph
Ältere Kommentare anzeigen
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 Kommentare
Angus Wong
am 19 Jun. 2018
Bearbeitet: Angus Wong
am 19 Jun. 2018
Paolo
am 19 Jun. 2018
figure;
hold on ;
title('function');
hold off;
Works fine on my machine with 2017b, what Matlab version are you using?
Angus Wong
am 19 Jun. 2018
Bearbeitet: Angus Wong
am 19 Jun. 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
