Help using Base SAS procedures

SAS MACRO PLOTMAT

Reply
N/A
Posts: 0

SAS MACRO PLOTMAT

Want to creat a scatterplot matrix with means and correlations, know that sas macro plotmat can do this...
Does sas macro work under sas?
The link
http://www2.sas.com/proceedings/sugi23/Infovis/p146.pdf,
the code looks weird...
Valued Guide
Posts: 632

Re: SAS MACRO PLOTMAT

That paper was written quite awhile ago and there have been a number of graphing advances. Take a look at PROC SGSCATTER (in SAS/GRAPH). It may do what you want with a lot less heartburn.

Now I see from an earlier post
http://support.sas.com/forums/thread.jspa?threadID=11226&tstart=0
that you do not yet have SAS9.2 and therefore SGSCATTER is not available.

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.
Ask a Question
Discussion stats
  • 1 reply
  • 105 views
  • 0 likes
  • 2 in conversation