diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 76 |
1 files changed, 38 insertions, 38 deletions
@@ -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 ``` |