I have a Scatterplot and I would like to have different Colors of the Points for different Groups.
How does this work in SAS Studio?
please help me 🙂
proc sgplot data=sashelp.iris; scatter x=petallength y = sepallength / group=species; run; proc sgplot data=sashelp.iris; styleattrs datacontrastcolors=(red purple orange); scatter x=petallength y = sepallength / group=species; run;
View solution in original post
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!