Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 367 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 367 Bytes

gnuplot-imshow

Display an ndarray as an image using gnuplot

Installation

npm install gnuplot-imshow

Usage

const getPixels = require('get-pixels')
const imshow = require('gnuplot-imshow');

getPixels('baboon.jpg', (err, pixels) => {
  imshow(pixels, {title: 'baboon image'})
})

gnuplot-imshow-demo