*-二维列表
sysuse nlsw88,clear
tab industry collgrad // 频数
tab industry collgrad, column nofreq //占比
*-图形展示
help tabplot
tabplot industry collgrad , ///
bfcolor(none) horizontal barw(1) ///
percent(collgrad) subtitle(% at each industry) ///
showval(offset(0.05))