Borrar filtros
Borrar filtros

Errors at random when trying to print greek alphabets in Matlab 2020a

2 visualizaciones (últimos 30 días)
v = 2;
text1=['(', num2str(v,'%.0f'), ', ', num2str(v,'%.0f'), ')', '\mum'];
text(0.3,0.3,text1);
These seem to work at random times and print the title without parsing the symbols at others. Could someone please help me understand/suggest what I have missed?

Respuesta aceptada

Ayush Gupta
Ayush Gupta el 7 de Sept. de 2020
The program seems to run fine and produces no errors for even around 20 runs. Look at some examples on how to use Greek Letters and Special Characters in Char Text here.
  1 comentario
Revati Deshpande
Revati Deshpande el 14 de Sept. de 2020
Thanks, Ayush!
Are there any interpreter default settings that might need tweaking/ any other functions that might not be able to interpret correctly?
I'm sorry the problem definition seems so vague, but I am not doing anything extra-ordinary - just getting some values from reading a table and plotting them out.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by