Unwanted space before greek letters

2 views (last 30 days)
Tim
Tim on 28 Jan 2014
Answered: Oliver Grimm on 2 Nov 2018
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
Walter Roberson
Walter Roberson on 28 Jan 2014
Might depend upon the OS or on the font ?
Jacco
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.

Sign in to comment.

Answers (2)

the cyclist
the cyclist on 11 Mar 2015
Can you share a screenshot? Mine looks fine:
[OS X; R2014b]

Oliver Grimm
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.

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!