Math plots with Java Applets