SAS scatterplot
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;
本文来自博客园,作者:Iving,转载请注明原文链接:https://www.cnblogs.com/SAS-T/p/15368398.html