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

11 Ansichten (letzte 30 Tage)
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}");

Akzeptierte Antwort

Selvarajah Premnath
Selvarajah Premnath am 7 Dez. 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);

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by