filled skeleton code of derived plotting class for plotting with gnuplot