mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Update README.md
This commit is contained in:
parent
286e90ec23
commit
bc0204af53
12
README.md
12
README.md
@ -2,6 +2,8 @@
|
||||
|
||||
[](https://travis-ci.com/kojix2/uplot)
|
||||
[](https://badge.fury.io/rb/u-plot)
|
||||
[](https://rubydoc.info/gems/u-plot)
|
||||
[](LICENSE.txt)
|
||||
|
||||
Create ASCII charts on the terminal with data from standard streams in the pipeline.
|
||||
|
||||
@ -17,7 +19,7 @@ gem install u-plot
|
||||
|
||||
## Usage
|
||||
|
||||
### histogram
|
||||
**histogram**
|
||||
|
||||
```sh
|
||||
ruby -r numo/narray -e "puts Numo::DFloat.new(1000).rand_norm.to_a" \
|
||||
@ -46,6 +48,14 @@ ruby -r numo/narray -e "puts Numo::DFloat.new(1000).rand_norm.to_a" \
|
||||
Frequency
|
||||
```
|
||||
|
||||
**scatter**
|
||||
|
||||
```sh
|
||||
wget https://raw.githubusercontent.com/uiuc-cse/data-fa14/gh-pages/data/iris.csv -qO - \
|
||||
| cut -f1-4 -d, \
|
||||
| uplot scatter -H -d, -t IRIS -m 10
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
## Contributing
|
||||
|
Loading…
Reference in New Issue
Block a user