Hi all,
I am trying to draw overlayed series (Actually I do want to use scatter but I couldn't draw curves of scatter plots) for two groups but I am getting athird line. You can find my code below and the resulting graph. Could you help me to get rid of this third line and make one curve black the other red? Thank you!
proc sgplot data=TIF_TCC_R_l_g noautolegend;
where form in ("Model 1.0", "Model 1.75");
series y=TIF x=ability/ legendlabel= 'Model 1.0' ;
series y=TIF x=ability/ legendlabel= 'Model 1.75' ;
xaxis values =(-9 to 6 by 0.5); ;
yaxis display=(noline noticks ) grid;
yaxis label="Information";
keylegend / title ="Reading 12 graph" sortorder=ascending location=outside position=bottom across=1;
Quick update:
I resolved my issue by restructuring the data. Thanks all!
Quick update:
I resolved my issue by restructuring the data. Thanks all!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.