Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
dzerbino committed Apr 6, 2014
1 parent 6e0c8df commit 65d8b78
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,45 +39,45 @@ The size of the bins is 1 by default, but can be specified as an option

```shell
> awk 'func r(){return sqrt(-2*log(rand()))*cos(6.2831853*rand())}BEGIN{for(i=0;i<10000;i++)s=s"\n"0.5*r();print s}' | ./hist 0.1
-1.800000 | 1 |
-1.600000 | 4 |
-1.500000 | 5 |
-1.400000 | 7 |
-1.300000 | 18 | *
-1.200000 | 40 | **
-1.100000 | 58 | ****
-1.000000 | 85 | ******
-0.900000 | 126 | *********
-0.800000 | 197 | **************
-0.700000 | 285 | *********************
-0.600000 | 349 | **************************
-0.500000 | 422 | *******************************
-0.400000 | 532 | ***************************************
-0.300000 | 634 | ***********************************************
-0.200000 | 681 | **************************************************
-0.100000 | 756 | ********************************************************
0.000000 | 1557 | ********************************************************************************************************************
0.100000 | 743 | *******************************************************
0.200000 | 698 | ****************************************************
0.300000 | 628 | **********************************************
0.400000 | 546 | ****************************************
0.500000 | 420 | *******************************
0.600000 | 351 | **************************
0.700000 | 252 | ******************
0.800000 | 208 | ***************
0.900000 | 140 | **********
1.000000 | 104 | *******
1.100000 | 65 | ****
1.200000 | 35 | **
1.300000 | 20 | *
1.400000 | 14 | *
1.500000 | 9 |
1.600000 | 5 |
1.700000 | 1 |
1.800000 | 1 |
1.900000 | 2 |
2.000000 | 1 |
TOTAL | 10000 |
-1.8 | 0.0001 | 1 |
-1.6 | 0.0004 | 4 |
-1.5 | 0.0005 | 5 |
-1.4 | 0.0007 | 7 |
-1.3 | 0.0018 | 18 |
-1.2 | 0.004 | 40 | **
-1.1 | 0.0058 | 58 | **
-1 | 0.0085 | 85 | ****
-0.9 | 0.0126 | 126 | ******
-0.8 | 0.0197 | 197 | **********
-0.7 | 0.0285 | 285 | **************
-0.6 | 0.0349 | 349 | *****************
-0.5 | 0.0422 | 422 | *********************
-0.4 | 0.0532 | 532 | ***************************
-0.3 | 0.0634 | 634 | ********************************
-0.2 | 0.0681 | 681 | **********************************
-0.1 | 0.0756 | 756 | **************************************
0 | 0.1557 | 1557 | ********************************************************************************
0.1 | 0.0743 | 743 | **************************************
0.2 | 0.0698 | 698 | ***********************************
0.3 | 0.0628 | 628 | ********************************
0.4 | 0.0546 | 546 | ****************************
0.5 | 0.042 | 420 | *********************
0.6 | 0.0351 | 351 | ******************
0.7 | 0.0252 | 252 | ************
0.8 | 0.0208 | 208 | **********
0.9 | 0.014 | 140 | *******
1 | 0.0104 | 104 | *****
1.1 | 0.0065 | 65 | ***
1.2 | 0.0035 | 35 | *
1.3 | 0.002 | 20 | *
1.4 | 0.0014 | 14 |
1.5 | 0.0009 | 9 |
1.6 | 0.0005 | 5 |
1.7 | 0.0001 | 1 |
1.8 | 0.0001 | 1 |
1.9 | 0.0002 | 2 |
2 | 0.0001 | 1 |
TOTAL | 1 | 10000 |
```
## scatter:
Takes in a double column of numbers, and displays a sketchy ascii density plot.
Expand Down

0 comments on commit 65d8b78

Please sign in to comment.