Hello, I am trying to create a graph where the x axis will be time CD4 count was measured (before diagnosis, at diagnosis, 2 months after diagnosis, 4 month after diagnosis, 8 months after diagnosis and 10 months after diagnosis) and y axis will be the CD4 count. I want to label the grid values so that I can see: "before diagnosis", "2 months", "4 months" and so on on the x-axis. The partial code I want to use is below. How do I achieve the formatting of the "Time of CD4 measurement" values in the graph? proc sgplot data=one; panelby state; refline 0/ axis=x lineattrs=(color= red pattern=2); series x=time y=CD4_count lineattrs=(color=gray pattern=1 thickness=1); colaxis label= "Time of CD4 measurement" grid values= (0 to 10 by 1); rowaxis label= "CD4_count"; run; I appreciate any help you can offer
... View more