Clear Filters
Clear Filters

Font type from Matlab to LateX

1 view (last 30 days)
André
André on 30 Jun 2016
Edited: André on 30 Jun 2016
I want to export a plot/graph from Matlab to Latex. For various reasons, I want the font type 'Arial' in my graph. I got the following:
As you can see, the font type is different. Everything should be in Arial and I used the following:
set(gca,'FontName','Arial');
fontname = 'Arial';
set(0,'defaultaxesfontname',fontname);
set(0,'defaulttextfontname',fontname);
What is wrong? Or do I have to amend it when I export the plot?

Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!