Seperated plotting functions from simulation for two d model.