creategaussian now displays graph