implemented abstract plotter class and derived class to plot with python