Suptitle - is it possible to use with arguments besides text?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
michio
2016-9-1
suptitle accepts one input argument, so try
suptitle(['my number= ',num2str(num)])
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!