What is the default figure font in Matlab 2014b?

조회 수: 87 (최근 30일)
Razvan
Razvan 2014년 10월 7일
답변: Adam Danz 2020년 3월 26일
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?

답변 (2개)

Bruno Pop-Stefanov
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')

Adam Danz
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')

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by