Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotter.js

Overview

This is a minimal frills JavaScript canvas numerical data plotting package.

We include a minimal webserver web.go (adapted from the http.FileServer example) to explore hosted content. On your workstation, type:

$ go run web.go

and point your web browser at http://localhost:8080 . The http://localhost:8080/plotter-test.html file provides a demo of supported features.

Features currently lacking (but planned)

  • text, on plot, labels

Validation

We include a sanity checking http://localhost:8080/plotter-test.html file. This demostrates:

  • binding the plotter to a canvas element
  • lines with clipping
  • x and y error bar markers
  • bounding box computation
  • axes with tick marks
    • manually computed and labeled
    • automatically computed

The above example generates two plotted images:

Generated example.png image Generated example2.png image

License info

The plotter package is distributed with the BSD 3-clause license. See the accompanying LICENSE file.

Reporting bugs

Use the github plotter bug tracker.

About

A numerical canvas plotter package in Javascript.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages