MATLAB Answers

Why do the ylabel renderings look different when Property Inspector says they are the same?

1 view (last 30 days)
Matt J
Matt J on 16 Nov 2020
Answered: Matt J on 16 Nov 2020
The image below is a screenshot of two different y-axis labels that I have in two different figure windows, generated in R2020a. The Property Inspector says the text properties of these lables are all the same, in particular the Fonts are both Helvetica and FontSize=39.6 but clearly they are not the same. The o's and the i's look very different. Does anyone know what might account for the differences in their appearance that I might not be seeing in the Property Inspector?

Accepted Answer

Matt J
Matt J on 16 Nov 2020
I figured it out. The syntax for the second plot needed to be,
ylabel('Local Deviation (\%)','Interpreter','latex') ; %percent sign needs slash

More Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 16 Nov 2020
It looks like in the first one, "interpreter" option with "latex" has been employed. The second one is indeed is the default font type Helvetica.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!