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

Hi Folks:

I have paneled plot below and trying to remove SORT=n labels of off the colaxis. Do you know how to achieve this? Thanks in advance. See code in the code snippet below. 

 

Cruise_1-1593304629484.png

IF Variables='aty' AND Daegu='yes' THEN SORT=1; ELSE
IF Variables='ah_p' AND Daegu='no' THEN SORT=2; ELSE
IF Variables='ag' AND Daegu='yes' THEN SORT=3; ELSE
IF Variables='a' AND Daegu='no' THEN SORT=4; ELSE
IF Variables='aon' AND Daegu='yes' THEN SORT=5; ELSE
IF Variables='aare_access' AND Daegu='no' THEN SORT=6; ELSE
IF Variables='abehavior ' AND Daegu='yes' THEN SORT=7; ELSE
IF Variables='aty' AND Daegu='no' THEN SORT=8; ELSE
IF Variables='ah_p' AND Daegu='yes' THEN SORT=9; ELSE
IF Variables='ag' AND Daegu='no' THEN SORT=10; ELSE
IF Variables='a' AND Daegu='yes' THEN SORT=11; ELSE
IF Variables='aon' AND Daegu='no' THEN SORT=12; ELSE
IF Variables='aare_access' AND Daegu='yes' THEN SORT=13; ELSE
IF Variables='abehavior ' AND Daegu='no' THEN SORT=14;
ods graphics / width=300px height=900px;
proc sgpanel data=ci90 noautolegend;
styleattrs datacontrastcolors=(black red green);
panelby sort/columns=2 onepanel proportional 
rowheaderpos=left noheaderborder colheaderpos=top  spacing=10 uniscale=column;
scatter x= Phases y=rr/ markerattrs=(symbol=squarefilled) group=Phases  yerrorlower=rr_l yerrorupper=rr_u  ;
refline 1/axis=y lineattrs=(pattern=dash);
colaxis display=none offsetmax=0.4 offsetmin=0.4;
rowaxis  label=' ' valuesformat=F8.2  ;
format Daegu $fmt. variables $vars.;
title 'CI90%, p<0.1'; 
run;

 

 

 

1 ACCEPTED SOLUTION
1 REPLY 1

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
  • 1 reply
  • 1437 views
  • 1 like
  • 2 in conversation