Create a legend for the graph. The quoted strings specify the names of the plots that you want to include in the legend. The LOCATION= option places the legend inside of the plot area. The POSITION= option places the legend in the bottom right corner of the graph.


  keylegend "series" "band1" "band2" / location=inside position=bottomright;
run;