Plot 如何修改stcurve的打印格式?
我的代码如下:Plot 如何修改stcurve的打印格式?,plot,stata,survival-analysis,Plot,Stata,Survival Analysis,我的代码如下: use http://www.ats.ucla.edu/stat/data/uis.dta, clear stset time, failure(censor) streg , dist(weibull) stcurve, hazard 我正在寻找一种方法来个性化的格式输出曲线图。例如,如何更改绘图的浅蓝色背景颜色、标签、字体大小和标题 您可以首先查看help stcurve:这里有一个链接指向help twoway\u选项 一切都在那里 有关
use http://www.ats.ucla.edu/stat/data/uis.dta, clear
stset time, failure(censor)
streg , dist(weibull)
stcurve, hazard
我正在寻找一种方法来个性化的格式输出曲线图。例如,如何更改绘图的浅蓝色背景颜色、标签、字体大小和标题 您可以首先查看help stcurve:这里有一个链接指向help twoway\u选项
一切都在那里
有关字体,请参阅Stata手册
以下是您所问问题的示例:
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
在我看来太开放了。这是一个关于大部分Stata图形的个人教程!这里有一个教程@NickCox,很抱歉这个一般性的问题。我是斯塔塔的新手。@timat谢谢你的指导。谢谢你的回答,真的很有帮助