winggundam
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to set font size in axis tick labels?

向下

How to set font size in axis tick labels?  Empty 回復: How to set font size in axis tick labels?

發表 由 lung 周三 11月 30, 2011 12:45 pm

Set the FontSize property of the axes.

>> plot(rand(1,20));set(gca,'FontSize',3)
lung
lung
Admin

文章數 : 26067
注冊日期 : 2009-07-12

回頂端 向下

How to set font size in axis tick labels?  Empty 回復: How to set font size in axis tick labels?

發表 由 lung 周三 11月 30, 2011 12:46 pm

plot(rand(4))
AX=legend('One','Two','Three','Four');
LEG = findobj(AX,'type','text');
set(LEG,'FontSize',10)
lung
lung
Admin

文章數 : 26067
注冊日期 : 2009-07-12

回頂端 向下

回頂端


 
這個論壇的權限:
無法 在這個版面回復文章