饼图:
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;