Hello everyone, I am doing group based trajectory modeling by SAS PROC TRAJ. I need help in graphing. There was code below. The attached picture which was colorful is the one drawn by PROC TRAJ. The other one without color is my goal. Therefore, I hope to change its legend, color and also thelso legend on the line. Besides, I awant to change the x-axis to start from 1998 not 1995. Can anybody help! */Main code*/ PROC traj DATA=work OUT=of outstat=os outplot=op outest=oe ; ID id; VAR bmi9-bmi15; INDEP yr1-yr7; Max 1000; MODEL CNORM; ngroups 4 ; order 1 1 1 1 ; RUN; */Drawing function*/ %trajplot (OP, OS, "Female >60, 4 group ", "linear", "BMI", "7-Consecutive");
... View more