What is the default figure font in Matlab 2014b?

53 visualizzazioni (ultimi 30 giorni)
Razvan
Razvan il 7 Ott 2014
Risposto: Adam Danz il 26 Mar 2020
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?

Risposte (2)

Bruno Pop-Stefanov
Bruno Pop-Stefanov il 8 Ott 2014
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 il 26 Mar 2020
To get default font properties without the need to create an axes,
get(groot, 'defaultAxesFontName')
get(groot, 'defaultAxesFontSize')
get(groot, 'defaultAxesFontWeight')
get(groot, 'defaultAxesFontAngle')

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by