Sin/Cos Plot

Two type of output renderes are provided since the version 0.4 of JSGraphics. One, GHTMLOutput is uses to render output image as HTML table and the other, GJavaOutput is used to pass the created image array to reciver Java applet for rendering. This example shows the same image (plot of sin() and cos() functions created using JSGraphics and rendered both as HTML and using Java.

Unfortunately it seems that on Winodows in Microsoft Internet Explorer JavaScript to Java communication is not working in native Microsoft's Java Virtual Machine, but it works if you have Sun Microsystems' java plugin installed.

Click to start drawing the plot. Click to stop drawing the plot.
HTML Java
[plot]

Next || Previous || Index