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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1775 views
  • 1 like
  • 4 in conversation