A simple C++ class that collects data points (of a mathematical function) and uses gnuplot to plot them.