#!/bin/bash
# make sure there is no extra output to stdin, including from usb-ctr.c

stdbuf -oL -eL ./wind-profile < device-cfg | feedgnuplot --stream trigger --domain --dataid --xlabel 'Speed (m/s)' --ylabel 'Height (m)' --lines --title 'Anemometer Profile' --autolegend --terminal 'x11 noraise'