The code below works fine, however, I would like the lines in each panel to be a different color. Do I need to annotate to get that result?
GRX is a formatted numeric value and has four levels (one panel for each value of GRX).
Pressure is an integer values ranging from zero to a maximum of around 30. Each value if ID is a time series for a different set of measurements.
proc sgpanel data= plot noautolegend ;
panelby trt / rows=2 columns=2 sort=(ascending ) headerattrs = (size = 7pt family = "Courier New");
styleattrs datasymbols=(CircleFilled) datacontrastcolors=(black) datalinepatterns=(solid);
rowaxis VALUES= (0 to 40 by 2) grid GRIDATTRS=(color=ltgray pattern=solid)
labelattrs = (size = 7pt family = "Courier New") valueattrs = (size = 7pt family = "Courier New")
label = "Pressure";
colaxis VALUES= (0 1 3 6 9 12 13 15) VALUESHINT grid GRIDATTRS=(color=ltgray pattern=solid)
labelattrs = (size = 7pt family = "Courier New") valueattrs = (size = 7pt family = "Courier New");
series x= MONTH y= pressure / group=id lineattrs=(thickness=1) ;
scatter x= MONTH y=pressure / group=id markerattrs=(size=6pt) ;
run;
... View more