how can one set default fonts for plots?

I tried
set(groot,'defaultFontName','Times New Roman')
but got
Error using matlab.ui.Root/set
fontname is an invalid class name
Please advise.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Asked:

on 6 Jul 2020

Commented:

on 7 Jul 2020

Community Treasure Hunt

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

Start Hunting!