Clear Filters
Clear Filters

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

1 view (last 30 days)
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');

Answers (1)

Walter Roberson
Walter Roberson on 24 Feb 2016
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 Comments
Walter Roberson
Walter Roberson on 24 Feb 2016
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

Sign in to comment.

Categories

Find more on Environment and Settings 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!