more graph stuff for creategaussian