Saving a figure as PDF with latex font

I am using the commands
set(0,'defaultaxesfontname', 'CMU Serif'); set(0,'defaulttextfontname', 'CMU Serif');
to set the font on my figure to one that is the same as Latex. However it changes the font whenever I export as a pdf or eps, is there any way around this? Using 2015b on mac.

Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Asked:

on 7 Mar 2018

Community Treasure Hunt

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

Start Hunting!