Suptitle - is it possible to use with arguments besides text?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
shir shalom
am 1 Sep. 2016
Kommentiert: michio
am 1 Sep. 2016
for example - I want my super title to display the value of my variable "num".
I coded this:
suptitle('my number=%u',num)
and got the error message:
Error using suptitle Too many input arguments.
Can I make it somehow?
Thanks, Shir
0 Kommentare
Akzeptierte Antwort
michio
am 1 Sep. 2016
suptitle accepts one input argument, so try
suptitle(['my number= ',num2str(num)])
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!