Graph Tutor Installation and Use

Graph Tutor is CareWare. Please read about CareWare at http://www.arachnoid.com/careware.

Graph Tutor is a Java application that can be run as an applet embedded in n HTML page or as a stand-alone application.

This package contains the requires Java class files:

graph.class
graphFrame.class
numberField.class
scrollCanvas.class

Please these files in any convenient directory.

To run Graph Tutor as part of an HTML page, enter a tag like the following:

<applet
codebase=(directory path to class files)
	code=graph.class
	name=graph
	width=500
	height=400>
<!-- some optional customization tags -->
<param name="bgcolor" value="#c080ff">
<param name="initexp" value="2">
<param name="initm" value="1.5">
<param name="initb" value="-.5">
</applet>

The width and height shown can be changed to suit your own needs. The "codebase=" specification is only necessary if the HTML page is not located in the same directory as the class files.

To run Graph Tutor as a stand-alone application, make a command entry like this:

(name of java interpreter) graph bgcolor=#c080ff initexp=2.0

The values at the right are optional, I include them just as examples of the command format.

From a Windows MS-DOS command prompt, for example:

C:\graph class directory>jview graph bgcolor=#c080ff initexp=2.0

General notes

All the numeric values can be changed by simply typing in a new number. The graph updates on each entered digit. The graph will update in real time as the sliders are moved.

Use the arrows to the right of the exponent number window to change exponent, or type in a number. Non-integer exponents will not graph for negative values of x (for reasons that should be obvious).

Here are all the program options and default values:

"bgcolor","#c0c0c0","application background color"
"cgcolor","#008080","chart grid color"
"clcolor","#000000","chart line color"
"cbcolor","#ffffff","chart background color"
"ctcolor","#000000","chart text color"
"initm","1.0","initial M value"
"initmaxm","2.0","initial maximum M value"
"initminm","-2.0","initial minimum M value"
"initb","0.0","initial B value"
"initmaxb","2.0","initial maximum B value"
"initminb","-2.0","initial minimum B value"
"initscale","1.0","initial chart scale value"
"initexp","1.0","initial exponent value"


