Hi @csa,
Compared to the other thread, you inserted the attrid=myid option into the SERIES and SCATTER statements. However, without using the DATTRMAP= option in the SGPANEL statement there's nothing that "myid" refers to. So, in addition to this option you need an attribute map dataset, as described in Example: Create a Panel That Uses an Attribute Map:
data attrmap;
retain ID "myid";
input value markercolor $ linecolor $;
datalines;
1 green green
2 blue blue
;
proc sgpanel data=have dattrmap=attrmap;
...
Note that most likely you will need to adapt the values of variable value above to your data, unless your variable trt01p_ happens to be numeric with values 1 and 2 (for the groups currently displayed in blue and red, respectively) and not formatted. If trt01p_ is character with values, say, "Active" and "Placebo" or formatted with these format labels, define value as a character variable (of sufficient length) in the DATA step above and replace 1 and 2 by Active and Placebo, resp., in the data lines.
... View more