What is the default figure font in Matlab 2014b?
90 次查看(过去 30 天)
显示 更早的评论
Hi, I tried to import in Illustrator an eps figure created with Matlab 2014b but I get a warning that some font is not installed:
"The document uses fonts or characters which are not available or are in a different format than originally specified.
any:
Font not found on the system; missing font has been substituted."
What is the new font that is used by default in the figures of the latest Matlab version (2014b)? Isn't this just Helvetica, as before?
0 个评论
回答(2 个)
Bruno Pop-Stefanov
2014-10-8
The default font should be Helvetica. You can check that before printing the figure to an EPS file using:
>> get(gca, 'FontName')
In my case, it returns Helvetica:
figure
plot(rand(10))
title('A Title')
xlabel('xlabel')
ylabel('ylabel')
>> get(gca, 'FontName')
ans =
Helvetica
You can try to change to another font and see if you still can't import the EPS file correctly into Illustrator.
For example:
>> set(gca, 'FontName', 'Tahoma')
0 个评论
Adam Danz
2020-3-26
To get default font properties without the need to create an axes,
get(groot, 'defaultAxesFontName')
get(groot, 'defaultAxesFontSize')
get(groot, 'defaultAxesFontWeight')
get(groot, 'defaultAxesFontAngle')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!