哪位大神会用sas软件画散点图、饼状图等呀?求助求助求助呀~
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/07/07 16:35:10
哪位大神会用sas软件画散点图、饼状图等呀?求助求助求助呀~
![哪位大神会用sas软件画散点图、饼状图等呀?求助求助求助呀~](/uploads/image/z/16475533-61-3.jpg?t=%E5%93%AA%E4%BD%8D%E5%A4%A7%E7%A5%9E%E4%BC%9A%E7%94%A8sas%E8%BD%AF%E4%BB%B6%E7%94%BB%E6%95%A3%E7%82%B9%E5%9B%BE%E3%80%81%E9%A5%BC%E7%8A%B6%E5%9B%BE%E7%AD%89%E5%91%80%3F%E6%B1%82%E5%8A%A9%E6%B1%82%E5%8A%A9%E6%B1%82%E5%8A%A9%E5%91%80%7E)
饼图:
goptions reset=all cback=white border htitle=12pt htext=10pt;
title1 "Types of Vehicles Produced Worldwide";
proc gchart data=sashelp.cars;
pie type / other=0
midpoints="Truck" "SUV" "Sedan" "Wagon" "Sports" "Hybrid"
value=none
percent=arrow
slice=arrow
noheading
plabel=(font='Albany AMT/bold' h=1.3 color=depk);
run;
quit;
散点图:
proc sgplot data=sashelp.class;
scatter x=height y=weight / group=sex;
run;
goptions reset=all cback=white border htitle=12pt htext=10pt;
title1 "Types of Vehicles Produced Worldwide";
proc gchart data=sashelp.cars;
pie type / other=0
midpoints="Truck" "SUV" "Sedan" "Wagon" "Sports" "Hybrid"
value=none
percent=arrow
slice=arrow
noheading
plabel=(font='Albany AMT/bold' h=1.3 color=depk);
run;
quit;
散点图:
proc sgplot data=sashelp.class;
scatter x=height y=weight / group=sex;
run;