Home Demos

A plot with a log axis

This example demonstrates the use of a logarithmically spaced axis.

The vertical axis of this graph is logarithmically spaced because the log setting within the axis_x1 settings of the JSPlot_Graph instance is set to true.

You can click and drag the graph left and right, and watch the vertical axis automatically rescale to fit the data. This is possible because the interactiveMode option on the JSPlot_Graph instance is set to pan.

Source code for this page



        

Follow