hist-cli 0.3.1

Commandline tool for plotting frequency ranked histograms of TSV/CSV data
hist-cli-0.3.1 is not a library.

hist

Commandline tool for plotting frequency ranked histograms of TSV/CSV data.

Installation

$ cargo install hist-cli

Usage

$ hist --help
hist 0.3.1
Plots histogram of input

USAGE:
    hist [OPTIONS] [input]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -o, --output <output>    file to save PNG plot to [default: histogram.png]
    -s, --save <save>        save counts data to file as TSV, use - for STDOUT
    -s, --size <size>        the x and y pixel sizes of the output file [default: 1280x960]
    -t, --title <title>      optional title above the plot [default: Counts distribution]
        --xdesc <xdesc>      x-axis label [default: Rank]
        --ydesc <ydesc>      y-axis label [default: Counts]

ARGS:
    <input>    optional file with on entry per line [default: STDIN]

Just piping from stdin:

$ hist < data.tsv
$ open histogram.png # on MacOS, on Linux maybe display or eog

histogram