FOCUS AREAS

Graphics

Matrix Plot
Matrix Plot
Base SAS: ODS Graphics Procedure: SGPANEL

/* Open the LISTING destination and assign the LISTING style to the graph */ 
ods listing style=listing;
ods graphics / width=5in height=2.81in;
title 'Vehicle Profile';

/* Run PROC SGSCATTER on data SASHELP.CARS, selecting for sedans and sports cars */
proc sgscatter data=sashelp.cars(where=(type in ('Sedan' 'Sports')));
  label mpg_city='City';
  label mpg_highway='Highway';
  /* Generate a matrix for city and highway mileage, and vehicle horsepower and weight */
  matrix mpg_city mpg_highway horsepower weight / 
     transparency=0.8 markerattrs=graphdata3(symbol=circlefilled); 
run;