summaryrefslogtreecommitdiffstats
path: root/README.template.md
diff options
context:
space:
mode:
authorSergey Grebenshchikov <sgreben@gmail.com>2018-03-30 21:24:53 +0200
committerSergey Grebenshchikov <sgreben@gmail.com>2018-03-30 21:24:53 +0200
commit4a608105bcab96ca98eb405159faa626b7d8193e (patch)
treec7daf0d770675d04a746c384ff47898cd3cdaf19 /README.template.md
parent0f9e84d2a4754c51cba79615820bcd53b0d9dd48 (diff)
Heatmap -> hist2d
Diffstat (limited to 'README.template.md')
-rw-r--r--README.template.md76
1 files changed, 38 insertions, 38 deletions
diff --git a/README.template.md b/README.template.md
index 6d83d29..a69ae0a 100644
--- a/README.template.md
+++ b/README.template.md
@@ -19,10 +19,10 @@ Dead simple terminal plots from JSON (or CSV) data. Bar charts, line charts, and
- [Array data, XY pairs](#array-data-xy-pairs)
- [Y values only (X=index)](#y-values-only-xindex-1)
- [Scatter plot](#scatter-plot)
- - [Heatmap](#heatmap)
- [Histogram](#histogram)
- [Auto bin number](#auto-bin-number)
- [Fixed bin number](#fixed-bin-number)
+ - [2D Histogram (heatmap)](#2d-histogram-heatmap)
- [CSV input](#csv-input)
- [Screenshots](#screenshots)
- [Licensing](#licensing)
@@ -283,43 +283,6 @@ $ cat examples/mvrnorm.json | jp -xy '..[x,y]' -type scatter
-4.08815 3.79083
```
-### Heatmap
-
-```
-$ cat examples/mvrnorm.json | jp -xy '..[x,y]' -type hist2d
-
- 3.3608│ ···· ········ ····
- │ ···· ········ ····
- │ ···· ········ ····
- │ ················ ····
- │ ················ ····
- │ ································
- │ ································
- │ ················░░░░░░░░░░░░················
- │ ················░░░░░░░░░░░░················
- │ ············▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒░░░░············
- │ ············▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒░░░░············
- │···············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒············
- │···············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒············
- │ ········░░░░▓▓▓▓▓▓▓▓████▓▓▓▓▒▒▒▒············
- │ ········░░░░▓▓▓▓▓▓▓▓████▓▓▓▓▒▒▒▒············
- │ ········░░░░▓▓▓▓▓▓▓▓████▓▓▓▓▒▒▒▒············
- │ ············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒············
- │ ············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒············
- │ ············▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒················
- │ ············▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒················
- │ ····································
- │ ····································
- │ ····························
- │ ····························
- │ ···· ···· ····
- │ ···· ···· ····
- │ ····
- │ ····
- -4.0045└───────────────────────────────────────────────────
- -3.8421 3.5909
-```
-
### Histogram
#### Auto bin number
@@ -382,6 +345,43 @@ $ cat examples/mvrnorm.json | jp -x ..x -type hist -bins 5
[-3.8421,-2.3555)[-2.3555,-0.8689)[-0.8689,0.6177) [0.6177,2.1043) [2.1043,3.5909]
```
+### 2D Histogram (heatmap)
+
+```
+$ cat examples/mvrnorm.json | jp -xy '..[x,y]' -type hist2d
+
+ 3.3608│ ···· ········ ····
+ │ ···· ········ ····
+ │ ···· ········ ····
+ │ ················ ····
+ │ ················ ····
+ │ ································
+ │ ································
+ │ ················░░░░░░░░░░░░················
+ │ ················░░░░░░░░░░░░················
+ │ ············▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒░░░░············
+ │ ············▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒░░░░············
+ │···············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒············
+ │···············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒············
+ │ ········░░░░▓▓▓▓▓▓▓▓████▓▓▓▓▒▒▒▒············
+ │ ········░░░░▓▓▓▓▓▓▓▓████▓▓▓▓▒▒▒▒············
+ │ ········░░░░▓▓▓▓▓▓▓▓████▓▓▓▓▒▒▒▒············
+ │ ············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒············
+ │ ············▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒············
+ │ ············▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒················
+ │ ············▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒················
+ │ ····································
+ │ ····································
+ │ ····························
+ │ ····························
+ │ ···· ···· ····
+ │ ···· ···· ····
+ │ ····
+ │ ····
+ -4.0045└───────────────────────────────────────────────────
+ -3.8421 3.5909
+```
+
### CSV input
```