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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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