HI, Below is the code that I am trying to use. and format trtf is: 1 ='this is a very long text that can not fit on one line'; PROC SGPLOT data=atrisk; styleattrs datacontrastcolors=(blue red); step x=week y=_y / group=trt01pn_ lineattrs=(pattern=solid) name='s'; scatter x=week y=censor_ / markerattrs=(symbol=plus) GROUP=trt01pn_; xaxistable risk / x=week class=trt01pn_ location=outside colorgroup=trt01pn_ separator LABELATTRS=(size=*7.8*);; keylegend 's' / location=inside position=bottomright down=*3* valueattrs=(size=*8*); yaxis min=*0.0* label = 'Probability of ventilation free survival'; xaxis values = (*0*,*13*,*26*,*39*,*52*,*65*,*78*,*91*,*104*,*117*,*130*, *143*) label = 'Time (weeks)' offsetmax=*0.05*; format trt01pn_ trtf.; RUN; Thanks! Chirag.
... View more