Stata15绘图的新功能:设置图形的透明度

Stata15绘图的新功能:设置图形的透明度

Stata15比起前代的Stata出了很多新功能,例如这个透明度。本文是Stata官网教程的学习笔记:Transparency in graphs

Stata
1
2
sysuse auto, clear
tw sc price mpg, mcolor(%30)

Stata
1
2
3
4
5
6
7
tw ///
hist price if for, bcolor(red%30) ///
width(500) start(2000) disc freq || ///
hist price if !for, bcolor(green%30) ///
width(500) start(2000) disc freq ||, ///
leg(order(1 "进口车" 2 "国产车")) ///
xlab(2000(4000)18000) yti("频数") xti("价格")

# Stata

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×