Figure size and fonts are different with or without GUI in Linux...
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all,
I am running Matlab2011a on Linux. What I do is repeatedly saving figures without creating them (i.e., with Visible property set off). I do this in two different ways. One is log in fro SecureCRT, therefore run Matlab without GUI. The other is log in from Xwin, and run matlab with GUI.
With exactly the same code, the figures generated look totally different ( size, font size, and etc).
Does anything have any experience how this could happen and how to deal with this problem?
Thanks, Mike
댓글 수: 0
답변 (2개)
Jan
2011년 11월 16일
Does one of your setups do not call matlabrc which calls hgrc implicitely? If so, try to run hgrc in each session and compare the results again.
댓글 수: 0
Daniel Shub
2011년 11월 16일
This might be related to this question: http://www.mathworks.com/matlabcentral/answers/1238-font-size-changes-in-figures
It appears some of MATLAB figure generation depends on fonts included with X. On Arch Linux I needed to install some xorg-fonts* packages. You might not have access to those fonts if you are not running (or forwarding) X.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!