I have been using SAS for a while, but my coding knowledge is still limited, particularly in regards to graphical aspects. I have just run some analyses based on a repeated measures design using proc mixed as per the code below (in SAS 9.4): proc mixed data=heic; class Time Fam IDs; model drink = Time heic | Dep Age / solution CL ddfm=kr; repeated Time / type=ar(1) subject=IDs; random Fam; store heic_drink; run; After extensive reading online, I managed to figure out how to create the contour plots using proc plm, as shown below: proc plm source=heic_drink; effectplot contour (x=Dep y=heic); run; The plots are great, and are excellent to graphically illustrate interactions between continuous variables. But I am not satisfied with the ranges for both x and y axes that the software selects by default. I've found that, for a number of the models, the values at the upper and lower ends of the range on both axes are somewhat misleading, as they are making major extrapolations that could not be robustly inferred from the data set. So I just want to manually define the range for each axis. I thought this would be very simple to do, but after hours and hours searching online, and even contacting SAS support, I still don't know if it is possible to make such minor modifications to the plot. And just to clarify, I don't need to re-draw the plot using other procedures, as the contour plots created by proc plm are great. I am just hoping it is possible to add a line or two of coding to the proc plm syntax to manually re-set the ranges on both x and y axis. I would be extremely grateful for any help with this issue! 🙂👍
... View more