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.
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;
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!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: