I am new to SAS graphics. I use SAS Enterprise Guide 5.1.
I am able to produce a plot of an interaction effect using proc plm, but I would prefer if the line colors for the slopes and CI shaded areas were light gray, medium gray, and dark gray. I would also like to change the font and size of text to Arial 12 pt and remove the header of the graph (i.e., "Fit for Y 95% confidence Limits"). The graph that I would like to change is attached.
Here's the syntax that I'm using:
ods graphics on;
proc mixed data=PAMMS_T covtest;
class enum;
model supramarginal = Age ZLogIGI Age*ZLogIGI APOE4 sex/ solution ddfm = KR influence (effect=enum iter=3) residual;
random int/ subject= enum type= un ;store out=IGI_supramarginal_all;
run;
ods rtf file="C:\Users\geennis\Documents\PAMMS\supra_plot3.rtf";
proc plm restore=IGI_supramarginal_all;
effectplot slicefit (x=Age sliceby=ZLogIGI=0 sliceby=ZLogIGI=1 sliceby=ZLogIGI=-1)/clm predlabel="Supramarginal gyrus FDG uptake (SUVR)" at (sex =1 APOE4 = 0);
run;
ods rtf close;
Thank you!
Thank you. It's good to know that the solution is not straightforward.
Here's some instructions and explanations on how to capture output that is shown.
https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods...
Introduction to SGPLOT
Thank you for providing these links.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.