Issue with font when exporting eps
20 views (last 30 days)
Show older comments
MichailM on 20 Dec 2019
Commented: Soumya Paul on 14 Nov 2021
I have the code example below:
t = linspace(0,2/50,1000);
w = 2*pi*50;
y = sin(w.*t);
f1 = figure(1);
set(gca, 'FontName', 'Garamond')
set(gca, 'Fontsize', 12)
When saving in .eps format the the axis and ticks font are not exported properly and that is a significant issue for LaTeX users. Are there any ideas on how can be fixed?
Harsha Priya Daggubati on 23 Dec 2019
You can try setting the “TickLabelInterpreter” property of axis in the figure to “latex”. Hope this resolves your issue.
More Answers (0)
Find more on Graphics Objects 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!