BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MGLondon
Fluorite | Level 6

I am trying to generate a QQPLOT with ODS Graphics turned on. The dataset (crdata.mortgage) has 622489 observations and 23 variables. I am trying to generate the QQPLOT for two of the variables (FICO_orig_time and LTV_orig_time). The below is the code I am using:

 
/* Q-Q Plots or quantile-quantile plots */
ODS GRAPHICS ON;
PROC UNIVARIATE DATA=crdata.mortgage NOPRINT;
 QQPLOT FICO_orig_time LTV_orig_time / NORMAL(MU=EST sigma=EST COLOR=lightgrey);
RUN;
ODS GRAPHICS OFF;
 
However, the QQPLOT is taking forever to generate. Upon stopping the code I found the warning repeated two times for both the variables "WARNING: This graph has too many graphical elements. You may not be able to get any vector graphics output and in that case, you          can set your output format to an image type."  
 
Any help would be much appreciated.
1 ACCEPTED SOLUTION

Accepted Solutions
MGLondon
Fluorite | Level 6

Thank you Chris for your prompt reply. I now used:

 

ods graphics on / outputfmt = STATIC;

 

to suppress the vector format. I think it does a similar job to what you were suggesting. The code took approximately 11 minutes to execute, but finally I did see the graphs generated.    

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

You might have IMAGEMAP or IMAGEFMT=SVG turned on.  Try issuing:

 

 ods graphics on / reset;

 

ahead of your program.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.
MGLondon
Fluorite | Level 6

Thank you Chris for your prompt reply. I now used:

 

ods graphics on / outputfmt = STATIC;

 

to suppress the vector format. I think it does a similar job to what you were suggesting. The code took approximately 11 minutes to execute, but finally I did see the graphs generated.    

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 1623 views
  • 1 like
  • 2 in conversation