MATLAB from UNIX causes font and bold commands to go useless..any help???
1 回表示 (過去 30 日間)
古いコメントを表示
set(gca,'linewidth',3)
set(gca,'FontSize', 12);
xticks = get(ax,'XTickLabel');
yticks = get(ax,'YTickLabel');
set(ax,'YTickLabel',yticks,'fontweight','bold')
xlabel(' East West(km)','FontSize',12,'fontweight','bold');
ylabel(' North South (km)','FontSize',13,'fontweight','bold');
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 2 月 24 日
Looks okay to me on OS-X in R2014a. Which version are you using on which OS, and what is it you observe (more specifically.)
Is it possible that the difficulty you are seeing is not in the on-screen representation but rather in PDF files?
3 件のコメント
Walter Roberson
2016 年 2 月 24 日
In OS-X for R2014a, it looks fine to me for .tif files provided I remember to display them at the same scale as the original (because, for example, print() is of the figure not just the axes). You might want to bump up the default output resolution which can be as low as 72 dpi.
With JPEG files you are always fighting against the problem that JPEG is not good at preserving sharp lines.
With eps, you run into a different issue completely, one that reportedly gets encountered more often with R2014b onwards. That issue is that bold fonts often end up getting substituted. This is some kind of jurisdiction fight between systems and Adobe, something along the lines that Adobe is supposed to be including the common bold fonts by default but fails to do so, and Mathworks does not include the entire font definition because it shouldn't have to. Something like that. See http://www.mathworks.com/matlabcentral/answers/157888-font-problems-when-exporting-as-eps
参考
カテゴリ
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!