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!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.