squiggle/packages/website/docs/Api/Plot.md
2022-10-11 17:32:59 +11:00

393 B

sidebar_position title
8 Plot

Plot objects can be created to make plots of different kinds. If you wish to plot multiple distributions simultaneously, you can use Plot.dist.

Example

dist

Plot.dist({show: list({name: string, value: distribution|number})})
Plot.dist({show: [{name: "normal", value: normal(0, 1)}, {name: "lognormal", value: 2 to 3}]})