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

90 vues (au cours des 30 derniers jours)
Mr M.
Mr M. le 8 Jan 2018
Commenté : M le 9 Jan 2018
×

Réponses (2)

M
M le 8 Jan 2018
Modifié(e) : M le 8 Jan 2018
Try with the \times command like in this example :
title('abc \times def')
  6 commentaires
Walter Roberson
Walter Roberson le 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) )
M
M le 9 Jan 2018
I am also on R2017b and here is the result :

Connectez-vous pour commenter.


Kim Folmer Andersen
Kim Folmer Andersen le 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!

Translated by