What is the default figure font in Matlab 2014b?

91 visualizaciones (últimos 30 días)
Razvan
Razvan el 7 de Oct. de 2014
Respondida: Adam Danz el 26 de Mzo. de 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?

Respuestas (2)

Bruno Pop-Stefanov
Bruno Pop-Stefanov el 8 de Oct. de 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 el 26 de Mzo. de 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')

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by