Java Source Code for CubicGraph

Below is source code for CubicGraph. It is still quite rough. I'd appreciate any comments for improvements. Send to carlson@math.utah.edu.
CubicGraph.java

The applet class

CGraphics.java

A class for drawing in Cartesian coordinates.

Function.java

Define the functions to be graphed

ScalarFunction.java

An abstract class