modified the plotting of the sinusoidal and harmonic model