greek letters cut off in y-axis subplot label
Mostra commenti meno recenti
I'm having issues getting R2013a to properly display greek letters in the y-axis for a subplot. I've tried using tex and latex interpreters and neither seems to work as intended.
I've used the following with no success:
ylabel('$\lambda$E','Interpreter','LaTex')
ylabel('$\lambda$ E','Interpreter','LaTex')
ylabel('\lambdaE','Interpreter','Tex')
ylabel('\lambda E','Interpreter','Tex')
This seems to be unique to subplots. I don't have the same problem in full plots.
Are there any other properties I can set to get it to display properly? Changing the 'margin' property did not work.

4 Commenti
Star Strider
il 9 Mag 2016
See if reducing the font size does what you want.
Elizabeth
il 10 Mag 2016
Star Strider
il 10 Mag 2016
Submit this to MathWorks as a bug report. There may be a published fix for it. Note that it could have been corrected in later releases.
Elizabeth
il 10 Mag 2016
Risposte (1)
Image Analyst
il 10 Mag 2016
Try putting spaces before the string. Nobody will notice if a space gets chopped off:
ylabel(' $\lambda$E', 'Interpreter', 'LaTex')
1 Commento
Elizabeth
il 10 Mag 2016
Categorie
Scopri di più su Labels and Annotations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!