ods html; *DATALABEL = ; proc template; define statgraph _scatter; begingraph; entrytitle "Weight by Height"; layout overlay/xaxisopts = (griddisplay = on) yaxisopts = (griddisplay = on); scatterplot x = weight y = height / group = sex datalabel = name name = 'a'; discretelegend 'a' / title = "Sex: " location = inside halign = right valign = bottom; endlayout; endgraph; end; run; proc sgrender data = sashelp.class template = _scatter; run; ods _all_ close;