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

12 views (last 30 days)
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}");

Accepted Answer

Selvarajah Premnath
Selvarajah Premnath on 7 Dec 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);

More Answers (0)

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!