BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am trying to run a correlation and scatter plots for 14 different variables. SAS runs a correlation on all of my variables, but only gives a scatter plot for the first 5 variables. I know there is a way to tell SAS that I want all of the plots. I have been using nmaxvar=14, but that hasn't helped.

Does anyone know how to get all the scatter plots to print?

Thanks for any help.
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
SAS 9.1.3? I think that is a glitch in the experimental release of the ODS graphics. Although the default is 5, I think the max is also 5 [and that it is corrected in 9.2 (I don't have it to test)].

If my recollection is correct, then the 9.1.3 work-around is to do a series of PROC CORR's using 5 VARs or 5VARs + 5 WITHs at a time. Less elegant, but you do get the results.

Doc Muhlbaier
Duke

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 900 views
  • 0 likes
  • 2 in conversation