Problem changing axis properties, Ubuntu
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have a weird problem when trying to change the text and axis propertis of a figure. I can change the properties for title, xlabel and ylabel properly but as soon as I'm trying to change the axis properties (like fontsize or fontname) it isn't working, the same problem occurs when Im using the function text. I can also change it properly using the figure properties editor in the graphical interface. Her are a bit of my code that isn't working:
set(gca,'FontSize', 20) %does nothing
text((r4,r4,'5 m'],'HorizontalAlignment','Right','VerticalAlignment','Bottom',...
'FontName','Bitstream Character','FontSize', 20) %here everything works except the font
Another problem is that the only font that seem to be working, even in the GUI is that Bitstream Character is the only font working.
There is also some problem with writing å,ö,ä in figures but there I've found a workaround using Latex as interpreter and \aa{},\"{a},\"{o} instead.
I'm sorry for asking so many questions at once but I thought they might be related.
Thank you!
\\Måns
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!