%macro scatter (x,y, xlabel, ylabel, pearson, pval);
ods html gpath = '...';
ods graphics / reset = all width = 12in height = 6in border = off
imagename = "Scatter_&x-&y" imagefmt = png ;
proc sgscatter data = data_2015;
plot &x*&y / filledoutlinedmarkers group = type
markerfillattrs = (color = CX62C0FF)
markeroutlineattrs = (color = CX265C7F thickness = 1)
markerattrs = (symbol = circlefilled size = 15 ) /* Here i want to include two more colors */
;
title "Pearson = &pearson P-Value = &pval";
label &x = "&xlabel" &y = "&ylabel";
run; Hi everyone, I am trying to specify 3 different markers colors in a gscatter procedure according to a categorical variable "type" (assuming 3 values) specified in the group option. How can I use the filledoutlinedmarkers option for grouped variables in the same scatterplot? Thanks in advance
... View more