Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

This is a slight variation of the plots from Sanjay Matange's blog:

  http://blogs.sas.com/content/graphicallyspeaking/2012/10/07/scatter-plot-matrix-with-a-twist/

This is one of the areas where the new 'sg' procedures make life a
whole lot easier than trying to do it with gplot ... when you want 
a grid of plots, and you want them to share common axes.

There are 3 plots in this example ... the first 2 are very easy 
to code, using default functionality.  The 3rd one requires a lot
of custom code & gtl template to add the row of histograms at the
top of the matrix (... and once you're using sgrender to do a custom
plot, then there are a few other little things you have to do 
manually, such as add the title and the label to the legend, etc).

Back to Samples Index