Thanks for posting, I didn't know about LuaRadio.
After playing with some examples I noticed the weird behaviour of the gnuplot windows that get focused and refreshed (including decorations) at every sample so that beside wasting cpu power for unneeded drawing, it takes away focus from the shell where the program was invoked, making impossible for example to press ctrl+c to stop the program. I was forced at every test to ctrl+alt+f1 to a full screen console to kill the process.
There's a nice Lua GUI project called TekUI which includes a basic graphing control that could be imported and extended to do the same without the need of an external dependency like gnuplot.
http://tekui.neoscientists.org/screenshots.html (look at about half of the page)
http://tekui.neoscientists.org/releases/
It's highly portable, a few years ago I managed to compile and use it on a A10 ARM processor board (Hackberry if memory serves).