plot.js
v0.0.6
Published
Graph creation library for node.js
Downloads
11
Readme
plot.js
plot.js is a small language for plotting and displaying math-type stuff in node.js
Example Usage
Plotting is easy! Just do:
var Plot = require("plot.js");
var p = new Plot();
var graph = p.render(input);Where input is a set of mathematical statements in the plot.js language. For instance, to plot a quadratic function, input can be:
f(x) = x ^ 2
plot_x(f, -5, 5)Full documentation for the graphing language has not been finished yet, however that document has begun to take shape here: Plot-language
For a fuller example which you can play around with, check out graph-it.
