proc sgplot data = bmi; hbar bmi; run;
proc sgplot data = bmi; vbar bmi / datalabel; run;
ods graphics / reset imagemap; /*--SGPLOT proc statement--*/ proc sgplot data=SASHELP.DEMOGRAPHICS; /*--TITLE and FOOTNOTE--*/ title 'Population by Region'; /*--Bar chart settings--*/ vbar region / response=pop fillattrs=(color=CX0a66f1) stat=Mean dataskin=Crisp name='Bar'; /*--Respons...
ods graphics / reset width=5in height=3in imagename='3_10_1_Injection_Site_Reaction_SG_V93'; title 'Incidence of Injection-site Reaction by Time and Cohort - Erythema'; title2 'As-treated Population'; ods listing style=styles.Injection; proc sgplot data=Incidence; vbar time / response=incidence...
ods graphics / reset width=5in height=3in imagename='3_10_3_Injection_Site_Reaction_Journal_SG_V93'; title 'Incidence of Injection-site Reaction by Time and Cohort - Erythema'; title2 'As-treated Population'; ods listing style=Journal2; proc sgplot data=Incidence; vbar time / response=incidence...
proc sgplot data=ace; scatter y=can2 x=can1 / group=Species; keylegend / title="Species"; run;
ods graphics / reset width=5in height=3in imagename='Bar'; proc sgplot data=tallbar; vbar x / response=y nostatlabel fillattrs=graphdata1; run;
ods graphics / reset width=5in height=3in imagename='BarBrokenAxisFull'; proc sgplot data=tallbar; vbar x / response=y nostatlabel fillattrs=graphdata2 baselineattrs=(thickness=0); yaxis ranges=(min-44 384-max) values=(0 to 400 by 10); run;
ods listing style=analysis; ods graphics / reset width=5in height=3in imagename='ScatterBrokenAxisBracket'; proc sgplot data=outOfRange; styleattrs axisbreak=bracket; reg x=x y=y / clm markerattrs=(size=5); yaxis ranges=(min-1.5 8.9-max) values=(0 to 10 by 0.2) valueshint; run;
ods listing style=journal; ods graphics / reset width=5in height=3in imagename='ScatterBrokenAxisSpark'; proc sgplot data=outOfRange nowall noborder; styleattrs axisbreak=spark axisextent=data ; reg x=x y=y / clm markerattrs=(size=5); yaxis ranges=(min-1.5 8.9-max) values=(0 to 10 by 0.2) ...