Why Greek symbol epsilon "ɛ" is blurred in my legend and label

23 vues (au cours des 30 derniers jours)
Dear Friends,
Q1. I used the following code for labels and legend get Greek symbol epsilon "ɛ" . However it is blurred in label and worse in legend .Could you please advice how can I get the black color.
Q2. Can you please advice how can i get the same symbol in my text.
Attahced fig for reference.
xlabel ('$\varepsilon_{1}(\%)$ ','interpreter','latex')
ylabel ('$\varepsilon_{2}$ , $\varepsilon_{3}(\%)$ ','interpreter','latex')
legend('$\varepsilon_{2}=\varepsilon_r$','$\varepsilon_{3}=\varepsilon_{\theta}$ ','interpreter','latex')
txt1 = (" \leftarrow \epsilon_{2}=\epsilon_{3}="+B+"{\epsilon_1}");

Réponse acceptée

Selvarajah Premnath
Selvarajah Premnath le 7 Déc 2021
I found the solution, It may be helpful for someone.
Thank you
a=([char(949) '_{2}']);
b=([char(949) '_{3}']);
c=([char(949) '_{1}']);
d=([char(949) '_{r}']);
e=([char(949) '_{\theta}']);
legend(a+" = "+d,b+" = "+e)
t.FontSize = 10;
s.FontAngle = 'italic';
xlabel ([char(949) '_{1}']+"(%)")
ylabel ([char(949) '_{2}']+ " , " +[char(949) '_{3}'] + " (%)")
ylim ([0 .16]);
xlim ([0 .16]);
txt1 = (" \leftarrow"+ a+ "=" +b +"=" +B + c);

Plus de réponses (0)

Catégories

En savoir plus sur Labels and Annotations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by