Unwanted space before greek letters
2 views (last 30 days)
Show older comments
Hello, I want to use Greek letters on my plot labels, but using the command \psi creates an unwanted space in front of the Greek letter, so from the command:
xlabel('Radial distance [r(\psi)]')
I get a spacing between the first bracket '(' and the Greek letter '\psi'. I have also tried the commands
xlabel('Radial distance [r({\psi})]')
xlabel('Radial distance [r(\{psi})]')
xlabel('Radial distance [r($\psi$)]')
But with no luck. Any help will be appreciated. Thank you.
3 Comments
Jacco
on 11 Mar 2015
I have the same issue with R2015a and R2014b on two different Linux machines. The plot window shows up fine, but when I saveas PDF extra white spacing is attached in front of my greek symbols.
Answers (2)
Oliver Grimm
on 2 Nov 2018
The problem persists in R2018b (Linux) for eps export: the label is correct in the Matlab figure window, but the exported figure has a large, extra space in front of the mu.
0 Comments
See Also
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!