| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1 +1,9 @@ | |||
| 1 | + mkdir data | ||
| 2 | + cd data | ||
| 1 | 3 | curl 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,22 +1,23 @@ | |||
| 1 | - #plotting coordinates | ||
| 2 | - scatter -f ../data/texas.txt | ||
| 1 | + echo plotting coordinates | ||
| 3 | 2 | ||
| 4 | - #with x and y coords | ||
| 5 | - scatter -x ../data/x_test.txt -y ../data/y_test.txt | ||
| 3 | + scatter --file ./data/texas.txt | ||
| 6 | 4 | ||
| 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 | ||
| 9 | 7 | ||
| 10 | - #with colors | ||
| 11 | - hist -f ../data/exp.txt -c blue | ||
| 8 | + echo plotting a histogram | ||
| 9 | + hist --file ./data/exp.txt | ||
| 12 | 10 | ||
| 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 | ||
| 15 | 13 | ||
| 16 | - #using stdin | ||
| 14 | + echo changing the shape of the point | ||
| 15 | + hist --file ./data/exp.txt --pch . | ||
| 16 | + | ||
| 17 | + echo using stdin | ||
| 17 | 18 | curl https://dl.dropbox.com/u/49171662/example.txt | hist | |
| 18 | 19 | ||
| 19 | - #getting data from a webpage | ||
| 20 | + echo getting data from a webpage | ||
| 20 | 21 | curl http://www.baseball-reference.com/ \ | |
| 21 | 22 | | grep -o -E "[$]([0-9]+)" | grep -o -E "[0-9]+" \ | |
| 22 | 23 | | hist -b 20 -t "Baseball Payrolls" --height 20 --pch "*" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | setup( | |
| 5 | 5 | name="bashplotlib", | |
| 6 | - version="0.3.8", | ||
| 6 | + version="0.3.9", | ||
| 7 | 7 | author="Greg Lamp", | |
| 8 | 8 | author_email="lamp.greg@gmail.com", | |
| 9 | 9 | url="https://github.com/glamp/bashplotlib", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments