BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
kcodo
Obsidian | Level 7

 

I would like to change order of the box plots to be:

control OA and LSS.

I am not sure why it is flipped the opposite way.

 

Also how do I override the automatic title.

looks like the code I put in for the title does not work. Appreciate all the help!

 

See attached graph.

here is the code I used:

proc format; 
value group 0="control" 1="OA" 2= "LSS"  ;
run;
proc glm data=my data; class group;
title "Gait Speed Symmetry Index Distribution";
model speed_SymIdx_iqr = group/effectsize alpha=0.05;
Format group group.;
LABEL speed_SymIdx_iqr='Gait Speed Symmetry Index';
 run; quit;
1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

Try adding option order=internal to the proc glm statement.

PG

View solution in original post

4 REPLIES 4
PGStats
Opal | Level 21

Try adding option order=internal to the proc glm statement.

PG
kcodo
Obsidian | Level 7

thank you. that worked to restore the order. do know how I could override the automatic title?

PGStats
Opal | Level 21

It's usually easier to make your own graph (getting the data from an OUTPUT statement) than to fiddle with the internal proc GLM GTL template to modify the graph.

PG
kcodo
Obsidian | Level 7

thanks.

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
  • 4 replies
  • 1004 views
  • 2 likes
  • 2 in conversation