fontname
Change font name for objects in a figure
Description
fontname(
sets
the font name of all the text within graphics object obj
,fname
)obj
to
fname
. If obj
contains other graphics objects, such
as a figure that contains UI components or an axes object that has a legend,
fontname
also sets the font name for those within
obj
. Use listfonts
for a list of available system
fonts.