I have a SAS EG 4.3 and I guess it does not include DATTRMAP to change colors of grouped scatterplots. Is there any other way to choose colors for grouped graphs without this function ?
Use the DATACONTRASTCOLORS= Option in the STYLEATTRS Statement like this
proc sgplot data=sashelp.iris noautolegend;
styleattrs datasymbols=(circlefilled) datacontrcolors=(red yellow green);
scatter x=sepallength y=sepalwidth / group=species;
keylegend / location=inside position=NE across=1;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.