implement P2/P3 func. Add option for gnuplot-like output
remove bad examples