Is it possible to print multiplication sign on a plot title?

85 次查看(过去 30 天)
×

回答(2 个)

M
M 2018-1-8
编辑:M 2018-1-8
Try with the \times command like in this example :
title('abc \times def')
  6 个评论
Walter Roberson
Walter Roberson 2018-1-9
Are you using sprintf to construct your string? If so then use \\t instead of \t as in
title( sprint('%d \\times %d', 3, 5) )

请先登录,再进行评论。


Kim Folmer Andersen
title('Is it possible to print * sign on a plot title?') Is this what you are looking for?

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by