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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1248 views
  • 1 like
  • 2 in conversation