plot

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 7 Imported by: 0

README

Plot

A minimalist CLI tool to plot data to the terminal.

  • Data: From CSV files or command line arguments.
  • Charts: Bar and Column charts.

Installation

  1. Download the latest release for your OS.
  2. Move the binary to a directory in your PATH e.g. mv plot-darwin-amd64 /usr/local/bin/plot (May need sudo)
  3. Make the binary executable e.g. chmod +x /usr/local/bin/plot
  4. Adding plot to the list of allowed binaries e.g. xattr -d com.apple.quarantine /usr/local/bin/plot
MacOS Install
curl -L -o plot https://github.com/archiewood/plot/releases/download/v0.0.2/plot-darwin-amd64
mv plot /usr/local/bin/
chmod +x /usr/local/bin/plot
xattr -d com.apple.quarantine /usr/local/bin/plot

Usage

plot [-t title] [-c chartType] file.csv
plot [-t title] [-c chartType] [labels ,]  values
Bar Chart from CSV
plot test/two_col_header.csv
Bar Chart with Title and Labels
plot -t "Programming Languages" go python r c++ , 84 950 923 27
Column Chart
plot -c column test/two_col_header.csv

Credits

This tool is heavily inspired by YouPlot

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL