How to change the font size of figure name and uitable ColumnName/RowName?

6 次查看(过去 30 天)
Hi, I wonder if it is possible to change the font size of figure name and uitable properties ColumnName and RowName. The property FontSize does change it only for other cells (see below):
t = uitable('Parent',f,'fontSize',19,'Data',dat,'ColumnName',cnames, ... 'RowName',rnames,'Position',[20 20 1050 100], 'FontSize',13);
I did not find the solution for the headlines. Could you help me, please? Thx.

回答(1 个)

Nirmal
Nirmal 2012-6-6
Add the following html as your cell prefix.
'<html><font size=+1>'
Yes, its the html. Surprizing buts works well. You can also add some other attributes like colors and stuff if you want to.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by