BookmarkSubscribeRSS Feed
PHLepi
Calcite | Level 5

I am trying to get a boxplot to appear in my work.gseg folder. I am using a code that has run without error prior to upgrading to 9.3, but now I cannot get the boxplot to display correctly. Below is the code used to generate the boxplot. Any ideas as to why it won't display in gseg?

goptions xpixels=300 ypixels=200;

title;

axis1 order = (0 to 1500 by 250)

label = (height = 1.25 'CD4')

minor = (number = 1) ;

axis2 label = (height = 1.25 'Gender') ;

symbol value = dot

height = 0.5 ;

proc boxplot data=cd4case2 ;

plot (cd4cnt)*birth_sex /

vaxis = axis1

haxis = axis2

cboxfill = TAN

cboxes = BL

name='plot6';

insetgroup mean (5.1) n / header = 'Median CD4 - Dx in Past 6 Months'

pos = topoff

cfill = YELLOW ;

run;

quit;

1 REPLY 1
ballardw
Super User

You may need to turn the listing destination on to recover the older behavior. With 9.3 defaulting to having the listing destination off some things seem to work a tad differently.

Ods listing on;

Proc boxplot;

<end of plot codes>

ods listing close;

Or possibly add an explicit Gout=work.gseg option on the proc statement.

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