<applet code=scatterRegressFile.class NAME="scatterRegressFile" width=400 height=300>
<PARAM NAME="showLine" VALUE="true">
<PARAM NAME="showFormula" VALUE="true">
<PARAM NAME="mousePointer" VALUE="true">
<PARAM NAME="xMin" VALUE="50">
<PARAM NAME="xMax" VALUE="80">
<PARAM NAME="yMin" VALUE="60">
<PARAM NAME="yMax" VALUE="250">
<PARAM NAME="title" VALUE="Height and Weight">
<PARAM NAME="n" VALUE="9">
<PARAM NAME="data" VALUE="sampledata.txt">
</applet>
The data file should be in the same directory as your html file. Each line has two numbers that are separated by a space. The first number on the line should have your explanitory (x) variable, and the second number is the response (y) variable. The file must be an ordinary text file. If you want the applet to ignore a line (so you can add your own comments) place a # sign as the first character of the line. The data file for the sample plot above looks like:
# This line is igored because it starts with a # character
# This data is fake height and weight pairs
60 84
62 95
64 140
66 155
68 119
70 175
72 145
74 197
76 150
<PARAM NAME="xMin" VALUE="50">
<PARAM NAME="xMax" VALUE="80">
<PARAM NAME="yMin" VALUE="60">
<PARAM NAME="yMax" VALUE="250">
If you have difficulty try downloading one of these archives:
scatreg.zip
scatreg.sea
scatreg.sea.hqx