Font-Size option in Figure labels is ignored
2 views (last 30 days)
Show older comments
Hi,
I am using Matlab R2011a under Ubuntu 11.10 and when I create Figures the "FontSize" option for any object is ignored. In the property editor changes in font size sometimes show up shortly but then dissapear again.
A minimal example is:
fig1=figure; annotation(fig1,'textbox',... [0.5 0.5 0.2 0.2],... 'String',{'test'},... 'FontSize',15);
The textbox is drawn, but the textsize is independent of the FontSize value. This is true for other objects such as Labels.
Does anyone have an idea?
Thanks, hannes
1 Comment
Daniel Shub
on 28 Mar 2012
This is a duplicate of http://www.mathworks.com/matlabcentral/answers/1238-font-size-changes-in-figures
Answers (1)
Hannes
on 28 Mar 2012
1 Comment
Daniel Shub
on 28 Mar 2012
In my answer to http://www.mathworks.com/matlabcentral/answers/1238-font-size-changes-in-figures, for Arch Linux I also suggest installing xorg-fonts-type1. Does Ubuntu have an equivalent package (and if so does it help)?
See Also
Categories
Find more on Interactive Control and Callbacks 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!