필터 지우기
필터 지우기

MATLAB from UNIX causes font and bold commands to go useless..any help???

조회 수: 1 (최근 30일)
Utsav
Utsav 2016년 2월 24일
댓글: Walter Roberson 2016년 2월 24일
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');

답변 (1개)

Walter Roberson
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
Utsav
Utsav 2016년 2월 24일
Matlab version : R2014a Unix version : RHEL 6.4
Walter Roberson
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 CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by