Crate poloto[][src]

poloto - plot to SVG and style with CSS

Usage

Check out the github examples.

  • Plots containing NaN or Infinity are ignored.
  • After 8 plots, the colors cycle back and are repeated.

Re-exports

pub use tagger;

Modules

build

Build blocks for making custom plots

iter

Contains the DoubleIterator trait and three different implementers of it.

prelude

The poloto prelude.

Macros

move_format

Shorthand for moveable_format(move |w|write!(w,...)) Similar to format_args!() except has a more flexible lifetime.

Structs

Plotter

Keeps track of plots. User supplies iterators that will be iterated on when render is called.

Functions

moveable_format

Convert a moved closure into a impl fmt::Display. This is useful because std’s format_args!() macro has a shorter lifetime.

plot

Convenience function for PlotterBuilder with default css tag, and with svg tag. In most cases, these defaults are good enough.