码迷,mamicode.com
首页 > 其他好文 > 详细

How to Change the Size of a Box-Plot Label in MATLAB

时间:2015-08-13 00:53:25      阅读:253      评论:0      收藏:0      [点我收藏+]

标签:

  1.  Type "load carsmall" to load a sample data set included with MATLAB.
  2.  Type "boxplot(Horsepower,Origin)" to generate a box plot of auto horsepower grouped by country of origin.
  3.  Type "set(findobj(gca,‘Type‘,‘text‘),‘fontunits‘,‘points‘)" to set the font units for the labels to points. Alternatively, replace "points" with "inches," "centimeters" or "pixels."
  4.  Type "set(findobj(gca,‘Type‘,‘text‘),‘fontsize‘,14)" to increase the font size from the default of 12 to 14 using the units you previously specified -- or replace "13" with the size you want.

How to Change the Size of a Box-Plot Label in MATLAB

标签:

原文地址:http://www.cnblogs.com/Gingber/p/4725831.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!