Why not to use gnuplot for plotting 2D diagrams? It would be a powerful front-end with many smoothing and customizing options and without having to write new software. ing. G.Bortolan