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;

 

上一篇:Qt启动/杀死外部进程


下一篇:20道25K+Android工程师面试必问面试题,Android面试送分题