proc sgplot data = geneout; scatter x = Hours y = mean; series x = Hours y = mean / group=characteristics; title 'Homework 5 Question 1'; title2 'Mean IFITM3 by Hours'; run; title; title2;
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Bubble Plot") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder imagemap;
proc sgplot data=my_data aspect=1 noautolegend; styleattrs datacolors=(cx9999ff cx993366); bubble x=x y=y size=value / group=series proportional bradiusmax=70px lineattrs=(color=gray33); yaxis values=(0 to 3 by 1) label='Y Axis' labelattrs=(size=16pt weight=bold color=gray33) valueattrs=(s...
%let name=col1; filename odsout '.'; ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Grouped Bar") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder imagemap; title1 color=gray33 ls=0.5 h=23pt "Grouped Bar"; title2 ...
proc sgplot data=work.repincome; vbox income / category=candidate; run; proc sgplot data=work.repincome; scatter y=income x=candidate; run;
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot 100% Stacked Area Plot") style=htmlblue;
proc sgplot data=my_data noautolegend; styleattrs datacolors=(cx993366 cx9999ff); band x=x lower=base1_pct upper=y1_pct; band x=x lower=base2_pct upper=y2_pct; yaxis values=(0 to 1 by .2) label='Y Axis' labelattrs=(size=16pt weight=bold color=gray33) valueattrs=(size=16pt weight=bold color=g...
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Horizontal Grouped Bar") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder imagemap;
title1 color=gray33 ls=0.5 h=23pt "Horizontal Grouped Bar"; title2 color=gray33 ls=0.5 h=17pt "Compares values across categories"; proc sgplot data=my_data noautolegend; styleattrs datacolors=(cx9999ff cx993366); hbar category / response=amount stat=sum group=series groupdisplay=cluster groupo...
ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="SGplot Bubble with Transparency") style=htmlblue; ods graphics / imagefmt=png imagename="&name" width=800px height=600px noborder imagemap; title1 color=gray33 ls=0.0 h=23pt "Transparent Bubbles"; proc sgplot data=my_data ...