Documentation
API
Plot

Plot

The Plot module provides functions to create plots of distributions and functions.

Raw functions and distributions are plotted with default parameters, while plot objects created by functions from this module give you more control over chart parameters and access to more complex charts.

dist

Signatures
Plot.dist(dist: Dist, params?: {xScale?: Scale, yScale?: Scale, showSummary?: Bool}?) => Plot
Examples

dists

Signatures
Plot.dists(dists: List(Dist|Number)|List({name?: String, value: Dist|Number}), {xScale?: Scale, yScale?: Scale, showSummary?: Bool}?) => Plot
Examples

numericFn

Signatures
Plot.numericFn(fn: (Number) => Number, params?: {xScale?: Scale, yScale?: Scale, xPoints?: List(Number)}?) => Plot
Examples

distFn

Signatures
Plot.distFn(fn: (Number) => Dist, params?: {xScale?: Scale, yScale?: Scale, distXScale?: Scale, xPoints?: List(Number)}?) => Plot
Examples

scatter

Signatures
Plot.scatter({xDist: SampleSetDist, yDist: SampleSetDist, xScale?: Scale, yScale?: Scale}) => Plot
Examples