%let name=area2; filename odsout '.'; data a; input x y1 y2; y3=y1+y2; cards; 0 2.0 1.0 1 1.0 1.2 3 2.0 1.7 4 1.0 2.0 5 0.5 2.5 ; run; GOPTIONS DEVICE=gif; ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="Stacked Area") style=minimal; goptions noborder; goptions gunit=pct htitle=6 ftitle="albany amt/bold" htext=4.25 ftext="albany amt/bold"; axis1 label=(a=90 'Y Axis') offset=(0,0) order=(0 to 4 by 1) minor=(number=3); axis2 label=('X Axis') offset=(0,0) order=(0 to 5 by 1) minor=(number=3); symbol1 interpol=join; pattern1 v=s color=cx9999ff; /* light blue */ pattern2 v=s color=cx993366; /* purplish */ goptions xpixels=650 ypixels=600; title link="area3.htm" "Stacked Area"; proc gplot data=a; plot y1*x y3*x / overlay autovref autohref cvref=gray chref=gray vaxis=axis1 haxis=axis2 areas=2 des="" name="&name" ; run; quit; ODS HTML CLOSE; ODS LISTING;