Clear Filters
Clear Filters

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

81 views (last 30 days)
×

Answers (2)

M
M on 8 Jan 2018
Edited: M on 8 Jan 2018
Try with the \times command like in this example :
title('abc \times def')
  6 Comments
Walter Roberson
Walter Roberson on 9 Jan 2018
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) )

Sign in to comment.


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

Community Treasure Hunt

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

Start Hunting!