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 .
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!
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.
Ready to level-up your skills? Choose your own adventure.