%let name=sct4; filename odsout '.'; data a; input id $ 1-1 x y; cards; A 0.2 1.0 A 2.0 2.8 A 3.0 0.5 A 3.2 2.0 B 0.2 3.1 B 1.7 1.3 B 3.9 3.1 B 2.8 1.1 ; run; data a; set a; length htmlvar $500; htmlvar='title='||quote( 'X: '|| trim(left(x)) ||'0D'x|| 'Y: '|| trim(left(y)) ||'0D'x|| 'ID: '|| trim(left(id)) ) ||' '|| 'href="sct5.htm"'; run; run; GOPTIONS DEVICE=gif; ODS LISTING CLOSE; ODS HTML path=odsout body="&name..htm" (title="Scatter Plot connected by lines") 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); axis2 label=('X Axis') offset=(0,0) order=(0 to 4 by 1); goptions xpixels=600 ypixels=700; symbol1 interpol=join value='P' font=marker height=3pct width=3 color=navy; symbol2 interpol=join value='U' font=marker height=3pct width=3 color=magenta; title "Scatter Plot"; title2 "With data points connected by lines"; proc gplot data=a; plot y*x=id / autovref autohref cvref=gray chref=gray vaxis=axis1 haxis=axis2 nolegend html=htmlvar des="" name="&name" ; run; quit; ODS HTML CLOSE; ODS LISTING;