*** add watermark anno; data watermark_anno; function='TEXT'; label='DRAFT'; width=100; rotate=30; textsize=100; transparency=0.8; textweight='Bold'; textcolor='Gray'; y1=40; output; run; proc sgplot data = figdata pad=(bottom=12pct left=10pct) sganno=watermark_anno; styleattrs datacontrastcolors=(blue green orange) datasymbols=(circlefilled trianglefilled squarefilled starfilled ) datalinepatterns=(solid); step x = time y = ptcount / group = Group lineattrs = (pattern = solid thickness = 3) name = "(Days)"; ****scatter x=time y=censored /group=Group markerattrs = (symbol = plus size=12) name = "Censored"; yaxis label = "Patient Numbers" values = (0 to 40 by 1); xaxis label = "(Days)" values = (0 to &max by 2); refline 0 /axis=y lineattrs=(pattern=shortdash thickness = 0); keylegend "(Days)" / location = outside /*inside*/ position = bottomleft /*topright*/ noborder; format Group Group.; run; ods rtf close;