mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 15:11:12 +08:00
Test README.md
This commit is contained in:
parent
bea12feb44
commit
caaa1f99a3
16
README.md
16
README.md
@ -26,15 +26,17 @@ gem install youplot
|
|||||||
### histogram
|
### histogram
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://raw.githubusercontent.com/kojix2/youplot/main/test/fixtures/iris.csv \
|
echo -e "from numpy import random;" \
|
||||||
| cut -f1-4 -d, \
|
"n = random.randn(10000);" \
|
||||||
| uplot scatter -H -d, -t IRIS
|
"print('\\\n'.join(str(i) for i in n))" \
|
||||||
|
| python \
|
||||||
|
| uplot hist --nbins 20
|
||||||
```
|
```
|
||||||
|
|
||||||
### lineplot
|
### lineplot
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://www.mhlw.go.jp/content/pcr_positive_daily.csv \
|
curl -s https://git.io/YouPlotIris \
|
||||||
| cut -f2 -d, \
|
| cut -f2 -d, \
|
||||||
| uplot line -w 50 -h 15 -t 'PCR positive tests' --xlabel Date --ylabel number
|
| uplot line -w 50 -h 15 -t 'PCR positive tests' --xlabel Date --ylabel number
|
||||||
```
|
```
|
||||||
@ -42,7 +44,7 @@ curl -s https://www.mhlw.go.jp/content/pcr_positive_daily.csv \
|
|||||||
### scatter
|
### scatter
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://git.io/JIiqE \
|
curl -s https://git.io/YouPlotIris \
|
||||||
| cut -f1-4 \
|
| cut -f1-4 \
|
||||||
| uplot scatter -H -t IRIS
|
| uplot scatter -H -t IRIS
|
||||||
```
|
```
|
||||||
@ -50,7 +52,7 @@ curl -s https://git.io/JIiqE \
|
|||||||
### density
|
### density
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://raw.githubusercontent.com/kojix2/youplot/main/test/fixtures/iris.csv \
|
curl -s https://git.io/YouPlotIris \
|
||||||
| cut -f1-4 \
|
| cut -f1-4 \
|
||||||
| uplot density -H -t IRIS
|
| uplot density -H -t IRIS
|
||||||
```
|
```
|
||||||
@ -58,7 +60,7 @@ curl -s https://raw.githubusercontent.com/kojix2/youplot/main/test/fixtures/iris
|
|||||||
### boxplot
|
### boxplot
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://raw.githubusercontent.com/kojix2/youplot/main/test/fixtures/iris.csv \
|
curl -s https://git.io/YouPlotIris \
|
||||||
| cut -f1-4 \
|
| cut -f1-4 \
|
||||||
| uplot boxplot -H -t IRIS
|
| uplot boxplot -H -t IRIS
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user