Data visualization with SAS programming

ODS Graphics ON But I get no plots

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 126
Accepted Solution

ODS Graphics ON But I get no plots

Hi,

I'm just running one of the examples from here (the Top Companies Profile Study) and when I run the code I get no plots. I tried resetting all goptions but didn't help. I do get graphical output using Proc Freq with ODS Graphics On so maybe it's an issue with my version of SAS and the SURVEYMEANS procedure?  I'm running SAS 9.4 TS 1M0

Thanks,

Brian Adams


Accepted Solutions
Solution
‎07-07-2015 02:34 PM
SAS Super FREQ
Posts: 3,633

Re: ODS Graphics ON But I get no plots

You are using 9.4m0, which corresponds to SAS/STAT 12.3. The documentation you linked to is the 13.1 doc. To connect SAS versions to SAS/STAT numbering, see

http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-sof...

The What's New doc for SAS/STAT 13.1 says

"SURVEYMEANS Procedure                  

You can request plots by specifying the PLOTS= option in the PROC SURVEYMEANS statement for continuous analytical variables. PROC SURVEYMEANS provides a summary plot that includes a box plot and a histogram plot. When you specify a DOMAIN statement, PROC SURVEYMEANS also produces box plots for domain statistics."

I conclude that you can't get those plots in 12.3.http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-sof...

BTW, here's a link to the HTML documentation instead of the PDF documentation:

SAS/STAT(R) 13.1 User's Guide

This should make it easier for you to navigate, and to cut and paste from the doc.

View solution in original post


All Replies
Super User
Posts: 11,136

Re: ODS Graphics ON But I get no plots

Please post which exact code you submitted.

Frequent Contributor
Posts: 126

Re: ODS Graphics ON But I get no plots

BallardW,

Thanks for the quick response. I would post the code if I could copy/paste into this forum but it doesn't seem to be an option. If you go to the link in my initial post and go to page 8263, it is Example 96.2

Brian Adams

Super User
Posts: 11,136

Re: ODS Graphics ON But I get no plots

The code on page 8265, with the actual Proc Surveymeans has no plot statement. Have you tried adding one such as Plots=boxplot ?

I don't have SAS 9.4 so can't test plots with surveymeans.

Solution
‎07-07-2015 02:34 PM
SAS Super FREQ
Posts: 3,633

Re: ODS Graphics ON But I get no plots

You are using 9.4m0, which corresponds to SAS/STAT 12.3. The documentation you linked to is the 13.1 doc. To connect SAS versions to SAS/STAT numbering, see

http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-sof...

The What's New doc for SAS/STAT 13.1 says

"SURVEYMEANS Procedure                  

You can request plots by specifying the PLOTS= option in the PROC SURVEYMEANS statement for continuous analytical variables. PROC SURVEYMEANS provides a summary plot that includes a box plot and a histogram plot. When you specify a DOMAIN statement, PROC SURVEYMEANS also produces box plots for domain statistics."

I conclude that you can't get those plots in 12.3.http://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-sof...

BTW, here's a link to the HTML documentation instead of the PDF documentation:

SAS/STAT(R) 13.1 User's Guide

This should make it easier for you to navigate, and to cut and paste from the doc.

Frequent Contributor
Posts: 126

Re: ODS Graphics ON But I get no plots

Rick,

Thanks for the great response and links!

Brian Adams

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 503 views
  • 0 likes
  • 3 in conversation