MATLAB: I am unable to use all the system fonts in MATLAB 6.5 (R13) on a Mac machine

fontfontslistlistfontsmacMATLABosxuisetfont

Why I am unable to use all my system fonts in MATLAB 6.5 (R13) on a Mac machine?
I am trying to set the font for my axes tick labels to be Geneva (a font I am able to use in other Mac applications), but the SET command appears to have no affect on the font properties such as FontSize and FontName:
plot(1:10)
set(gca, 'FontName', 'Geneva', 'FontSize', 18)
Notice that the font for the tick labels looks the same as the default font.

Best Answer

MATLAB figure windows do not have access to the same set of fonts as other Mac Applications. MATLAB figure windows run through an XWindow software (XDarwin or X11). The XWindow software has a specific subset of fonts that can be used through it. To see the fonts that are available on your system for use in MATLAB figures, you can use the UISETFONT function. For example:
plot(1:10)
s = uisetfont(gca, 'Select a Font for the axes');
set(gca,'FontName', s.FontName, ...
'FontUnits', s.FontUnits, ...
'FontSize', s.FontSize, ...
'FontWeight', s.FontWeight, ...
'FontAngle', s.FontAngle)
The fonts listed in the UISETFONT GUI are the fonts available on your system for MATLAB figures. These are the fonts that can be selected using the SET command.