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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1569 views
  • 1 like
  • 2 in conversation