87

GitHub - mcastorina/graph-cli: Flexible command line tool to create graphs from...

 5 years ago
source link: https://github.com/mcastorina/graph-cli
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

graph-cli

A CLI utility to create graphs from CSV files.

graph-cli is designed to be highly configurable for easy and detailed graph generation. It has many flags to acquire this detail and uses reasonable defaults to avoid bothering the user. It also leverages chaining, so you can create complex graphs from multiple CSV files.

A full list of options can be found in OPTIONS.md.

Examples

graph samples/sine.csv -o sine.png

sine

graph samples/sine.csv --marker '' --chain | \
graph samples/cosine.csv --title 'sine and cosine' \
  --ylabel '' --xscale 250 --marker '' -o sine-cosine.png
graph samples/sine-cosine.csv --title 'sine and cosine' \
  --ylabel '' --xscale 250 --marker '' -o sine-cosine.png

sine-cosine

graph samples/sine.csv --resample 125 -o sine-resample.png

sine-resample

graph samples/avocado.csv --resample 1W -o avocado-resample.png

avocado-resample

Installation

pip install graph-cli

Donate

I develop this software in my spare time. If you find it useful, consider buying me a coffee! Thank you!

ko-fi


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK