My Sgplot code looks like below and the Legend that appearing "Name = a " ( Treatment arms ) at the end of Vbox . Along with that I also want the Scatter Plot colors in the Legend , if I try to have Name = "Scat" and use it in Keylegend TRT01A is coming up as it is Grouping variable . How to get the Scatter Plot color into the Legend ?
Example along with TRT arm , red color = &var2. , Green color = &var1 something like this
%macro box_j (yvar , var1,var2 , out , Vis , label );
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.