Problem with sqrt symbol on label
Mostrar comentarios más antiguos
Hello guys,
I getting a diferent symbol on an label, and i dont know why. I want the sqrt symbol but when i apply \surd i get a diferent symbol, and i really dont know why.
I am using matlab r2013a.
Source code of the symbol on the context of the program:
ylabel('\surd Drain-Source Current (A)');
Respuestas (1)
Star Strider
el 25 de Nov. de 2014
It works for me as you wrote it (in R2014b). The only possibility that comes to mind is to specify the interpreter. See if this improves things:
ylabel('\surd Drain-Source Current (A)','Interpreter','tex');
4 comentarios
ApolloPT
el 25 de Nov. de 2014
ApolloPT
el 25 de Nov. de 2014
Star Strider
el 25 de Nov. de 2014
My pleasure!
I thought about 'latex', but without knowing what MATLAB release you have (LaTeX has only been an option for the last few releases if I remember correctly), decided not to suggest it.
Krishna
el 9 de En. de 2019
Thanks ApolloPT it works
Categorías
Más información sobre Common Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!