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

7 vues (au cours des 30 derniers jours)
Jiri Jablonsky
Jiri Jablonsky le 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 commentaire
Liam Kelly
Liam Kelly le 6 Juin 2012
I have the same problem. Haven't been able to solve it yet, but I'll post back if I figure it out

Connectez-vous pour commenter.

Réponses (1)

Nirmal
Nirmal le 6 Juin 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.

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by