Thanks for the quick reply! Code looks good, but unfortunately I get the following error: Looks like the color arguments are not accepted, any idea what the issue could be? I also tried the following, which does run without an error, and the plot gets generated,but without any kind of color gradient: proc template; define style styles.gradient; parent = styles.default; class ThreeColorRamp / endcolor=CXD3D3D3 startcolor=CXFFDAB9 neutralcolor=CXF0E68C ; class ThreeColorAltRamp / endcolor=CXD3D3D3 startcolor=CXFFDAB9 neutralcolor=CXF0E68C ; class graphbackground / color=white; end ; define statgraph gradientscatter; begingraph; entrytitle "&title."; layout overlay; scatterplot x = volat_below y = perf_below/ markercolorgradient = Z name = "scattergrad" colormodel = ThreeColorRamp; scatterplot x = volat_above y = perf_above / markercolorgradient = Z name = "scattergrad" colormodel = ThreeColorAltRamp; endlayout; endgraph; end; run; ods html style = styles.gradient; proc sgrender data = &indata. template = gradientscatter; run; A couple of things I forgot to mention in the first post: - I'm on SAS 9.3. - The final plot should have 5 different groups. The sample I provided has only 2 groups for simplicity's sake. I'm mentioning this because I noticed that there seems to be only a 'ThreeColorRamp' and a 'ThreeColorAltRamp' , which may imply that only 2 different gradients can be used? Regards
... View more