I have 4 treatment groups to be displayed in the graph. I need different linestyles (solid, dashed, etc ..) for each treatment group. With the below code which I have written, I'm getting same linestyle for all 4. How to use the linestyle option in sgplot ? Please enlighten me. I am a beginner. Thanks proc sgplot data = final noautolegend; xaxis label = 'Week'; yaxis label = 'Blood Pressure (mmHg)'; series x = visitname y = mean / group = trtp lineattrs = (pattern = 1) markers; keylegend/ title = 'Treatment '; scatter x = visitname y = mean / group = trtp yerrorlower = lower yerrorupper = upper ; run; Thankyou
... View more