Noob_Coder
Noob_Coder

Reputation: 3

Can we use multiple symbols or color in MARKERATTRS option of SAS SGPLOT?

I want to combine Scatter and Series Graph using PROC SGPLOT. At some point I need to use different different symbols for my group data. I used Styleattrs option for this purpose. But when I try to add legend, I can not merge the symbols using keylegend. Since Markerattrs option automatically merges the symbols in the legend, I tried to use it. But I can not add multiple symbols with Markerattrs. So I want to know if there is any way to do this or I need to use Styleattrs?

Thanks in advance for your kind help.

Upvotes: 0

Views: 1221

Answers (1)

Noob_Coder
Noob_Coder

Reputation: 3

I found the solution. All I need to do is add the option "Markers" after my series plot.

SERIES X=value1 Y=value2 / GROUP=tpatt MARKERS;
KEYLEGEND 'SERIES';

Upvotes: 0

Related Questions