2.1.4 • Published 6 years ago

plot-it v2.1.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Plot It

Plot advanced charts in Node.js. Plot It uses plotly.js.

With hot reload!

Install

npm i -g plot-it

Demo (Using safe-range to create range)

  • Create a directory for your project.
  • Run npm init -y.
  • Run npm i safe-range.
  • Create an index.js file.
const range = require('safe-range')
const r = range(-10, 10, 0.1)

//Functions
const f = x => Math.sin(x)
const g = x => x ** 2

module.exports = [
	{
		x: r,
		y: r.map(f),
		name: 'f(x) = sin(x)'
	},
	{
		x: r,
		y: r.map(g),
		name: 'g(x) = x²'
	}
]
  • Run plot-it.

image

Press F5 to force refresh if necessary.

Press F12 to show data table

image

Reference

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.11

6 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago