Home Demos

A 3D double helix

This example demonstrates how to generate a three-dimensional graph, which the user can rotate by clicking and dragging with the pointer.

The 3D plotting mode is enabled by setting the threeDimensional setting on the JSPlot_Graph instance to true.

The user is able to rotate the graph with the pointer when the interactiveMode setting is set to rotate.

Source code for this page