gnuplot implementation
add libs and svg based plotting