I am running proc loess and would like the dots to be different colors based on a variable. The variable values are A, B, or C and I want the dots to be a specific color depending on if they are A, B, or C. I would still like all the data to remain on the same graph. I would also like a legend. I couldn't find the option within proc loess so I was hoping maybe there was a global option or format that could do it.
proc loess data=Veh_All_Ramp1_106 plots(only)=fit;
model speed=distance / smooth=0.5;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.