BookmarkSubscribeRSS Feed
eh51
Calcite | Level 5

I read a few threads on the plotting error exceeding maxobs.  I bumped up my maxobs, and now get the error: 

 

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.

One recommendation was not to plot so many points, but instead use summary data.

My problem is I want to use the box and whiskers plot, which is a summary tool. I can research the image method, but there should be some SAS method of showing graphical summaries of large data sets without running into 'your data set is too large' error. I am dealing with 33 million records, which is not large. 

I also create a simple table of the percentiles using proc univariate, but the graph is more effective.

Any recommendations? 

 

for plotting (from a macro, I removed the ampersands): 

	proc sgplot data=work.wtable;
	   vbox wpref_stat / category=mycat;
	   yaxis label="wyaxis" minor minorcount=wminor;
	   format wpref_stat comma7.0;
	run;

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

The issue is not how many observations are in the sample, the issue is how many boxes are on the plot. For the option

CATEGORY=MyCat

you will get one box for every level of the MyCat variable. How many levels do you have? Make sure that MyCat is a categorical variable, not an interval variable. You can use PROC FREQ to see the levels for MyCat.

 

I notice that your error message says "vector graphics", so please show the COMPLETE log for the program that you are submitting. This will help us determine what graphical options you have set.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

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
  • 1 reply
  • 828 views
  • 0 likes
  • 2 in conversation