I am currently having a nightmare with some kernel density plots I am trying to produce. For some reason in the plots where I am plotting two kernel density lines, despite showing correctly in the SAS output window, the RTF file I am creating show both lines as the same colour. I do not have the same issue in the plots with 3 or more kernel density plots overlaid. These are showing fine as different colours in both the SAS output window and the output RTF file. Code below: proc sgplot data=graph CYCLEATTRS; %do r=1 %to &n; density &endpoint&r / type=kernel freq=frequency name="&r" legendlabel="&&class&r (n=&&count&r)" lineattrs=(pattern=solid thickness=2); %end; keylegend / valueattrs=(Size=7); yaxis label='Density'; run; Any help would be greatly appreciated!
... View more