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 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!

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
  • 1651 views
  • 1 like
  • 4 in conversation