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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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-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

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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