From: SAS_learner on 6 Jan 2010 11:38 Hello all, While generating KM for PFS I am using simple Proc Gplot along with legend to display by treatment arms and censor variables as C.I wanted the show both the treatment arms at end of graph but some how I am getting CCC (my censor variables ) in the legend . Here is the piece of code I am using for my graph legend1 value=(j=c h=2.0 "Treatment A " " " "Treatment B " font=simplexu) shape=symbol(7,2.0) label=(h=1.5 ' ') position=(bottom Outside); title1 h=2.5 "Kaplan-Meier Curve of Progression-free Survival"; title2 h=2.5 "Intent-to-Treat Population"; FOOTNOTE1 h=1 J=L "%qsysfunc(repeat(_,165))"; footnote2 justify=left h=2 "NOTE 1: C = Censored."; FOOTNOTE5 J=L h=2 "SOURCE: &source" j=r " DATE: &sysdate9 "; proc gplot data=outlife; plot ( Arm1 cp Arm2 ) * months / overlay frame haxis=axis1 vaxis=axis2 vref=50 caxis=black legend = legend1 ; run; *CP is censored pat's and are taking the value of C in the dataset. So in the graph I am getting _________________ Treatment A C C C - - - - - - - - - - - - Treatment B (I do not want C C C ) in the graph thanks all for your time and help SL
|
Pages: 1 Prev: Issue with %let Next: princomp question - 95% CI for loadings |