Hi Folks:
Any idea how to split y-axis title in the plot shown below into two rows? so title would appear a whole? Thank you!
ods graphics/width=11in height=3in;
proc sgpanel data=mydata;
panelby SORT/ novarname columns=4 rows=1;
styleattrs DATACONTRASTCOLORS=(BLUE green red);
series x=FU y=HazardRatio/lineattrs=(pattern=solid thickness=2) GROUP=S;
REFLINE 1 / LABEL = ('HR=1') lineattrs=(color=black pattern=solid thickness=1) labelpos=min;
colaxis label='Weeks' min=1 max=100 grid values=(0 to 52 by 1);
rowaxis label='Hazard Ratio Between Midpoint Imputation and Gold-Standard'
fitpolicy=thin grid values=(1 to 1.5 by 0.1);
keylegend/ title="Cancer Stage" position=TOP;
run;
The split options are for tick marks I think. I couldn't find a way to split that title. Sorry.
rowaxis label='Hazard Ratio Between Midpoint Imputation and Gold-Standard' fitpolicy=splitalways splitchar=' ' ;
The split options are for tick marks I think. I couldn't find a way to split that title. Sorry.
Maybe you could post it at ODS Graphic forum . There are more smart Graphic guys in it .
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.