BookmarkSubscribeRSS Feed
Davidliu494
Calcite | Level 5

im trying to plot using proc boxplot, but when i set the vaxis to the range that i want, sas gives me the error:

WARNING: For process variable X the VAXIS= values specified do not cover the data range.

WARNING: Default scaling is substituted.

I just want to zoom in on the boxplot to better see the changes in the medians. Is there a way for SAS to ignore the fact that my vaxis won't cover all of the data?

(note: i was somehow able to zoom in using vaxis two days ago, but today when i tried it, this warning kept coming up)

Thanks!

3 REPLIES 3
ballardw
Super User

Providing a sample of the code would be helpful.

reneeharper
SAS Employee

We have some great samples graphic samples that you might find useful.   They are available on support.sas.com at http://support.sas.com/sassamples/graphgallery/index.html.

I always find sample code helpful. I hope you find this to be a useful resource as well.

VD
Calcite | Level 5 VD
Calcite | Level 5

If you are using proc gplot to get the boxplot, you can try using INTERPOL=BOX25 in the symbol statement. This will restrict the values to the 25th to 75th percentile.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 1425 views
  • 1 like
  • 4 in conversation