📄 shewhart.ado
字号:
*! version 2.3.1 04oct2004
program define shewhart
version 6, missing
if _caller() < 8 {
shewhart_7 `0'
exit
}
local vv : display "version " string(_caller()) ", missing:"
// the legacy option -batch- is undocumented
syntax varlist(min=2) [if] [in] [, BATCH * ]
_get_gropts , graphopts(`options') getcombine getallowed(plot addplot)
local options `"`s(graphopts)'"'
local gcopts `"`s(combineopts)'"'
if `"`s(plot)'"' != "" {
di in red "option plot() not allowed"
exit 198
}
if `"`s(addplot)'"' != "" {
di in red "option addplot() not allowed"
exit 198
}
tempname shew1 shew2
`vv' xchart `varlist' `if' `in', ///
name(`"`shew1'"') nodraw `options'
`vv' rchart `varlist' `if' `in', ///
name(`"`shew2'"') nodraw `options'
// xchart goes above the rchart
version 8: graph combine `shew1' `shew2', cols(1) `gcopts'
version 8: graph drop `shew1' `shew2'
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -