VANDER : LeastSquaresGrapher Test Page

The Raw Applet

The Least Squares applet constructs itself in two ways: if passed a set of data points as a parameter list, it assumes that it is to be used as a tutorial, where students are to guess the slope and intercept, comparing the energy associated with their guess against the least squares minimum energy. If it is not passed a data set, it constructs itself in calculator mode, and just gives the answer; the calculator mode also allows semi-log and log-log plotting of the data points.

Calculator (raw) mode

This version of the applet has no points passed as parameters, so constructs itself in calculator mode. A frame pops up to accept data entry. [This is the extra window that (I hope) just popped up when you opened this page.] So far, you can't have newlines in the data set - input ends after the first empty line. Click in the new frame to add data points, comma-separated values, one per line.

This version of the applet is invoked as follows:


<applet code="LeastSquaresGrapher/LeastSquaresGrapher.class"
width500 height=400>
</applet>