Bug#766072: RFP: stag -- generate a streaming bar graph of the data passed through stdin
Package: wnpp
Severity: wishlist
* Package name : stag
Version : 1.0
Upstream Author : Seena Burns <hello@seenaburns.com>
* URL : https://github.com/seenaburns/stag
* License : BSD
Programming Lang: C
Description : generate a streaming bar graph of the data passed through stdin
Streaming bar graphs. For stats and stuff.
Screenshot: https://camo.githubusercontent.com/392c59ec209671528002257a279b15924819ba61/687474703a2f2f692e696d6775722e636f6d2f7332426c4349612e706e67
stag generates a streaming bar graph of the data (line separated floats) passed through stdin.
SYNOPSIS
stag [-t TITLE] [-m MARGIN] [-s SCALE_MODE] [-w BAR_WIDTH] [-y Y_SPLITS]
OPTIONS
-t, --title=TITLE
Set the title displayed above the graph.
-m, --margin=T,R,B,L
Set the margin around the edge of the graph, defined as a comma
delimited list of 4 integers: top,right,bottom,left.
-s, --scale=SCALE_MODE
Choose how to scale the y-axis of the graph.
dynamic: update the max using the values currently on the graph
global: update the max to be the global maximum of all data seen
min,max: specify the max and min using two integers
-w, --width=BAR_WIDTH
Set the width of the bars.
-y, --split=Y_SPLITS
Set the number of intermediate y-axis ticks between the min and max.
EXAMPLES
Trivial example:
echo -e "1\n2\n3" | ./stag
Reply to: