MATLAB: How to use different fonts within one axis label in MATLAB 7.13 (R2011b)

fontfontanglefontnamelatexMATLAB

I would like to use different Fonts (like Arial and Times) in one YLabel. How can I achieve this? How can I furthermore set different font angles within one label?

Best Answer

You can achieve this by using the TeX interpreter as shown in the following example:
% set different fonts
ylabel('\fontname{Arial}This is Arial \fontname{Times}This is Times')
% set different font angles
xlabel('\bfbold text \rm\itor italic text\rm')
Related Question