popoplot 0.7.0

A tool to visualize real time numerical data as a line chart
popoplot-0.7.0 is not a library.

popoplot

A tool to visualize real time numerical data as a line chart

Disclaimer

This tool is currently a work-in-progress and may drastically change in the future.

Usage

Launch it:

popoplot --bind 127.0.0.1:9999 --bar-capacity 50 --max 100 --min 0

Feed it with some data. Here we are sending to its tcp port a stream of numbers from 0 to 100 and back using netcat.

s=1; 
k=1; 
while sleep 0.1; do 
  echo $k; 
  let k=$k+$s; 
  if [ $k -eq 100 ]; then 
    s=-1; 
  elif [ $k -eq 0 ]; then 
    s=1; 
  fi; 
done | nc localhost 9999

This is the output:

.................................................. 1
=................................................. 2
=................................................. 3
==................................................ 4
==................................................ 5
===............................................... 6
===............................................... 7
====.............................................. 8
====.............................................. 9
=====............................................. 10
=====............................................. 11
======............................................ 12
======............................................ 13
=======........................................... 14
=======........................................... 15
========.......................................... 16
========.......................................... 17
=========......................................... 18
=========......................................... 19
==========........................................ 20
==========........................................ 21