如何修改 stcurve 的绘图格式?
How can I modify the plot format of stcurve?
我的代码如下:
use http://www.ats.ucla.edu/stat/data/uis.dta, clear
stset time, failure(censor)
streg , dist(weibull)
stcurve, hazard
我正在寻找一种方法来个性化 stcurve
中输出图的格式。例如,如何更改浅蓝色背景颜色、标签、字体大小和绘图标题?
你可以先看看help stcurve
:有一个link到help twoway_options
都在。
字体参见 Stata 手册here。
这里是您所问问题的示例:
use http://www.ats.ucla.edu/stat/data/uis.dta, clear
stset time, failure(censor)
streg , dist(weibull)
graph set window fontface "Times New Roman"
#delimit ;
stcurve, hazard
title("new title")
graphregion(color(white) icolor(white))
plotregion(color(white) icolor(white))
ytitle( "Y title",size(3.5))
xtitle( "X title",size(3.5)) ;
#delimit cr
我的代码如下:
use http://www.ats.ucla.edu/stat/data/uis.dta, clear
stset time, failure(censor)
streg , dist(weibull)
stcurve, hazard
我正在寻找一种方法来个性化 stcurve
中输出图的格式。例如,如何更改浅蓝色背景颜色、标签、字体大小和绘图标题?
你可以先看看help stcurve
:有一个link到help twoway_options
都在。
字体参见 Stata 手册here。
这里是您所问问题的示例:
use http://www.ats.ucla.edu/stat/data/uis.dta, clear
stset time, failure(censor)
streg , dist(weibull)
graph set window fontface "Times New Roman"
#delimit ;
stcurve, hazard
title("new title")
graphregion(color(white) icolor(white))
plotregion(color(white) icolor(white))
ytitle( "Y title",size(3.5))
xtitle( "X title",size(3.5)) ;
#delimit cr