The macro presented in the paper is creating a series of independent graphs and then pasting them into a graphics template (different than an ODS template). I have not tried the code, but it may work 'out of the box' for you. If not, there will be several learning opportunities for you. Good luck.
OK so I was curious. I tried the %PLOTMAT macro on three variables in sashelp.class and it worked as advertised.