mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-06-24 18:11:12 +08:00
Update README.md
* Added -e option to make the echo command work on both Mac and Ubuntu. (#1)
This commit is contained in:
parent
93f8efc60a
commit
d085828883
@ -29,9 +29,9 @@ ruby -r numo/narray -e "puts Numo::DFloat.new(1000).rand_norm.to_a" \
|
|||||||
<img src="https://i.imgur.com/wpsoGJq.png" width="75%" height="75%">
|
<img src="https://i.imgur.com/wpsoGJq.png" width="75%" height="75%">
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "from numpy import random;" \
|
echo -e "from numpy import random;" \
|
||||||
"n = random.randn(10000);" \
|
"n = random.randn(10000);" \
|
||||||
"print('\\\n'.join(str(i) for i in n))" \
|
"print('\\\n'.join(str(i) for i in n))" \
|
||||||
| python \
|
| python \
|
||||||
| uplot hist --nbins 20
|
| uplot hist --nbins 20
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user