随机数散点图有什么用?

2024-12-30 05:43:07
推荐回答(1个)
回答1:

%macro uni;

%let n=5;

%let k=500;

%do i=1 %to &n.;

data abc&i.;

do l=1 to &k.;

y&i.=20+9*ranuni(0);

output;

end;

run;

%end;

data all;

merge abc1 abc2 abc3 abc4 abc5;

run;

%mend;

%uni;

proc gplot data=all;

symbol color=red line=1;

symbol color=green line=2;

symbol color=blue line=3;

symbol color=yellow line=4;

symbol color=black line=5;

plot y1*l=1 y2*l=2 y3*l=3 y4*l=4 y5*l=5/overlay;

run;

quit;