Type "load carsmall" to load a sample data set included with MATLAB.
Type "boxplot(Horsepower,Origin)" to generate a box plot of auto horsepower grouped by country of origin.
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."
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.
posted on
2015-08-12 22:57Gingber
阅读(219)
评论(0)
编辑收藏举报