I am trying to plot a trajectory graph and want to label the x-values with actual years e.g. Tick 1 is labelled "0-3". However I am getting an error message. Syntax below:
trajplot, xtitle("Age(years)") xlabel(1 "0-3" 2 "3-6" 3 "6-9" 4 "9-12" 5 "12-15" 6 "15-18" 7 "18-21" 8 "21-29") ytitle("psychotic episodes") ci
ERROR Message below:
invalid label specifier, : 1 0-3 2 3-6 3 6-9 4 9-12 5 12-15 6 15-18 7 18-21 8 21-29:
trajplot, xtitle("Age(years)") xlabel(1 "0-3" 2 "3-6" 3 "6-9" 4 "9-12" 5 "12-15" 6 "15-18" 7 "18-21" 8 "21-29") ytitle("psychotic episodes") ci
ERROR Message below:
invalid label specifier, : 1 0-3 2 3-6 3 6-9 4 9-12 5 12-15 6 15-18 7 18-21 8 21-29:
Comment