How to add euro symbol in the label of a graph?

6 visualizaciones (últimos 30 días)
R7 DR
R7 DR el 14 de Sept. de 2017
Respondida: Walter Roberson el 14 de Sept. de 2017
Hi How to add euro symbol in the label of a graph?
Thanks

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Sept. de 2017
If you are using R2014b or later, then use char(8364) if you are using the default 'interpreter', 'none' or if you are using 'interpreter', 'tex'.
However, if this needs to go into a string with 'interpreter', 'latex' then you are going to have a problem -- unless it happens that the rest of the string does not include any \ directives (... in which case the interpreter did not need to be set to 'latex' anyhow.) It is not known if there is any way to add any optional packages for use with latex in the last couple of releases of MATLAB; there was an obscure way in some of the releases from R2014b to perhaps R2016a or so.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by