其他分享
首页 > 其他分享> > SAS scatterplot

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;

 

标签:griddisplay,run,ods,scatterplot,template,SAS,proc
来源: https://www.cnblogs.com/Python-T/p/15368398.html