proc sgplot noautolegend; scatter y=y x=x / markerchar=group group=group; run;
*AQ1.a proc sgplot data=stemp; series x=year y=temperature; scatter x=year y=temperature; run;
proc sgplot data=fcast; title 'Southern Hemisphere Temperature Comparison to 161 Year Mean'; title2 'with 2011 Forecast'; band x=year upper=upper lower=lower; scatter x=Year y=temperature; series x=year y=temperature; series x=year y=ytrend / lineattrs=(color=black); run; title; title2;
proc sgplot data=New; scatter x=Minutes y=Prob / group=Group; discretelegend; run;
proc sgplot data=out noautolegend; yaxis values=(-10 to 10 by 5); xaxis values=(-15 to 15 by 5); scatter y=y x=x / group=cluster Markerchar=cluster; by _NJOIN_; run;
title2 'Plot of DENSITY*X=CLUSTER'; proc sgplot data=out; scatter y=density x=x / group=cluster datalabel=_obs_; run;
title2 'Plot of DENSITY*X=CLUSTER with TRACE and THRESHOLD=0.55'; proc sgplot data=out; scatter y=density x=x / group=cluster datalabel=_obs_; run;
proc sgplot; scatter y=y x=x; run;
proc sgplot data=out noautolegend; scatter y=y x=x / group=cluster markerchar=cluster; by _r_; run;
/*--Legend default--*/ ods graphics / reset width=5in height=3in imagename='LegendDefault'; title 'MSRP by Horsepower'; proc sgplot data=sashelp.cars(where=(type eq 'Sedan')); styleattrs axisextent=data; reg x=horsepower y=msrp / cli clm degree=2; run;