File tree Expand file tree Collapse file tree 3 files changed +22
-13
lines changed
Expand file tree Collapse file tree 3 files changed +22
-13
lines changed Original file line number Diff line number Diff line change 1+ mkdir data
2+ cd data
13curl https://dl.dropbox.com/sh/jjeubxlxuqkzkeq/5W6zkUZXww/million.txt? dl=1 > million.txt
4+ curl https://dl.dropbox.com/s/yuxlaj8okcjta9t/exp.txt? dl=1 > exp.txt
5+ curl https://dl.dropbox.com/s/cbf5skx34grlwy6/lower48.txt? dl=1 > lower48.txt
6+ curl https://dl.dropbox.com/s/gsu2y9vqnx5ps5i/texas.txt? dl=1 > texas.txt
7+ curl https://dl.dropbox.com/s/4zws1nbamorcy9z/x_test.txt? dl=1 > x_test.txt
8+ curl https://dl.dropbox.com/s/mlt4gfqr6n24kxj/y_test.txt? dl=1 > y_test.txt
9+
Original file line number Diff line number Diff line change 1- # plotting coordinates
2- scatter -f ../data/texas.txt
1+ echo plotting coordinates
32
4- # with x and y coords
5- scatter -x ../data/x_test.txt -y ../data/y_test.txt
3+ scatter --file ./data/texas.txt
64
7- # plotting a histogram
8- hist -f .. /data/exp .txt
5+ echo with x and y coords
6+ scatter -x ./data/x_test.txt -y . /data/y_test .txt
97
10- # with colors
11- hist -f .. /data/exp.txt -c blue
8+ echo plotting a histogram
9+ hist --file . /data/exp.txt
1210
13- # changing the shape of the point
14- hist -f .. /data/exp.txt -p .
11+ echo with colors
12+ hist --file . /data/exp.txt --colour blue
1513
16- # using stdin
14+ echo changing the shape of the point
15+ hist --file ./data/exp.txt --pch .
16+
17+ echo using stdin
1718curl https://dl.dropbox.com/u/49171662/example.txt | hist
1819
19- # getting data from a webpage
20+ echo getting data from a webpage
2021curl http://www.baseball-reference.com/ \
2122| grep -o -E " [$]([0-9]+)" | grep -o -E " [0-9]+" \
2223| hist -b 20 -t " Baseball Payrolls" --height 20 --pch " *"
Original file line number Diff line number Diff line change 33
44setup (
55 name = "bashplotlib" ,
6- version = "0.3.8 " ,
6+ version = "0.3.9 " ,
77 author = "Greg Lamp" ,
88 author_email = "lamp.greg@gmail.com" ,
99 url = "https://github.com/glamp/bashplotlib" ,
You can’t perform that action at this time.
0 commit comments