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

8 views (last 30 days)
Jiri Jablonsky
Jiri Jablonsky on 19 Mar 2012
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 Comment
Liam Kelly
Liam Kelly on 6 Jun 2012
I have the same problem. Haven't been able to solve it yet, but I'll post back if I figure it out

Sign in to comment.

Answers (1)

Nirmal on 6 Jun 2012
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.


Community Treasure Hunt

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

Start Hunting!

Translated by