title: Different reference lines in different panels in an SGPANEL plot in SAS
body: <p>I wish to add different horizontal reference lines to each panel in an SGPANEL plot. I currently can only have the one reference line at 0.83</p>
  
  <pre><code>proc sgpanel data=TEMP;
  panelby AvPatRef / layout=panel columns=3;
  format patcorr_order corrformatnum.;
  label AvPatRef = 'Average Patient Refusal';
  where AvClinRef=0;
  refline 0.83 / lineattrs=(thickness=2);
  series y=PowerPPLogF x=patcorr_order / legendlabel='PP' markers markerattrs=(symbol=circle) lineattrs=(pattern=1);
  series y=PowerITTLogF x=patcorr_order / legendlabel='ITT' markers markerattrs=(symbol=plus) lineattrs=(pattern=1);
  series y=PowerSPSLogF x=patcorr_order / legendlabel='2SPS' markers markerattrs=(symbol=diamond) lineattrs=(pattern=1);
  series y=PowerSRILogF x=patcorr_order / legendlabel='2SRI' markers markerattrs=(symbol=triangle) lineattrs=(pattern=1);
  colaxis discreteorder=unformatted values = (1 to 4 by 1) label='Correlation between baseline CVD risk and refusal probability'; 
  rowaxis grid values = (0.4 to 1.0 by 0.02) label='Power';
  run;
  ods listing close;
  </code></pre>
  
  <p>Thank you for any help.</p>
  
  <p>Best wishes,</p>
  
  <p>Alex</p>