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

조회 수: 1 (최근 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
Liam Kelly
Liam Kelly 2012년 6월 6일
I have the same problem. Haven't been able to solve it yet, but I'll post back if I figure it out

댓글을 달려면 로그인하십시오.

답변 (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