Plot 2d gaussian contour python However, after searching for a long time, I couldn't figure out how to make the y-axis and x-axis non-transparent. I'm not familiar with the memory and CPU aspect of the methods described, and I aim this answer at those who have reasonably small sets of data, such that the quality of the interpolation can be the main aspect to consider. Both models have access to five components with which to fit the data. I've looked into multiple approaches, from using the default contour function in matplotlib, methods involving stats. Next, get your data ready for the calculation - it should be in the form of an array or list of two-dimensional points. One of them I use to display the array's values as a 2D color grid of squares. 126 sec I've got a 2d kde plot with contours overlying a hexbin plot. Download Python source code: Input data for the Gaussian Plume Model. In my case, for a given set of 2D points, I cluster them into different grid cells and compute the covariance matrix for every cell and plot the gaussian distribution for I would like to plot a 2D kernel density estimation. x. mjdie hhfa irklx skly nlm lzl xucdqj ikyujf cuibqnt gqrayup egjsr jonxos hwenn jbdbtj fgp