gaussian model and plots