Add plot to documentation
This commit is contained in:
parent
8d612f75f0
commit
76fe461363
19
packages/website/docs/Api/Plot.md
Normal file
19
packages/website/docs/Api/Plot.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
sidebar_position: 8
|
||||||
|
title: 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})})
|
||||||
|
```
|
||||||
|
|
||||||
|
```js
|
||||||
|
Plot.dist({show: [{name: "normal", value: normal(0, 1)}, {name: "lognormal", value: 2 to 3}]})
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user