- /* Create sample data */
- data sample;
- do xvar=1 to 10;
- yvar1=ranuni(0)*100;
- yvar2=ranuni(0)*100;
- output;
- end;
- run;
- symbol1 v=none i=join c=blue width=3;
- symbol2 v=none i=join c=red width=3;
- title1 'OVERLAY option used to display multiple plot lines';
- title2 'Default line thickness of 1 used in legend entries';
- proc gplot data=sample;
- plot (yvar1 yvar2)*xvar / overlay legend;
- run;
- quit;