Hello, Does anyone know how I can change the line attributes in PROC PHREG? I'd like to make my lines thicker.I tried editing the 'Stat.Phreg.Graphics.Survival' template which is used for producing survival plot but I couldn't find out which part of code is addressing the line attributes. The codes for 'Stat.Phreg.Graphics.Survival' template: proc template; define source Stat.Phreg.Graphics.Survival; define statgraph Stat.PHReg.Graphics.Survival; dynamic title1 title2 title3 title4 xviewMin xviewMax group groupIndex groupName plotCL plotHPD transparency piecewise _byline_ _bytitle_ _byfootnote_; BeginGraph; entrytitle TITLE1 TITLE3; entrytitle TITLE2 TITLE4 / textattrs=GRAPHVALUETEXT; layout overlay / xaxisopts=(linearopts=(viewmin=XVIEWMIN viewmax=XVIEWMAX)) yaxisopts=(label="Survival Probability" shortlabel="Survival" linearopts=(viewmin=0 viewmax=1 tickvaluelist=(0 .2 .4 .6 .8 1.0))); if (PLOTCL) bandplot LimitLower=LOWERSURVIVAL LimitUpper=UPPERSURVIVAL x=TIME / group=GROUP index=GROUPINDEX modelname="Survival" datatransparency=transparency; endif; if (PLOTHPD) bandplot LimitLower=LOWERHPDSURVIVAL LimitUpper=UPPERHPDSURVIVAL x=TIME / group=GROUP index=GROUPINDEX modelname= "Survival" datatransparency=transparency; endif; if (EXISTS(PIECEWISE)) seriesplot y=SURVIVAL x=TIME / group=GROUP index=GROUPINDEX name="Survival"; else stepplot y=SURVIVAL x=TIME / group=GROUP index=GROUPINDEX name="Survival"; endif; if (EXISTS(GROUP)) discretelegend "Survival" / location=outside title=GROUPNAME; endif; endlayout; if (_BYTITLE_) entrytitle _BYLINE_ / textattrs=GRAPHVALUETEXT; else if (_BYFOOTNOTE_) entryfootnote halign=left _BYLINE_; endif; endif; EndGraph; end; Thanks, Gelareh
... View more