Re: [Matplotlib-users] Smooth contourplots

2010-09-07 Thread Francesco Montesano
Dear Joe, finally I had time to come back to my python scritp for the contour plots. You're code works very nicelly and does exactly what I need. Thank you for the help Francesco 2010/7/26 Joe Kington : > It sounds like you're wanting a gaussian kernel density estimate (KDE) (not > the desktop!

Re: [Matplotlib-users] Smooth contourplots

2010-07-26 Thread Joe Kington
It sounds like you're wanting a gaussian kernel density estimate (KDE) (not the desktop!). The other options you mentioned are for interpolation, and are not at all what you're wanting to do. You can use scipy.stats.kde.gaussian_kde()

[Matplotlib-users] Smooth contourplots

2010-07-25 Thread montefra
Hi, I am writing a program that reads three columns (one column containing the weights, the other two containing the values I want to plot) from a file containing the results from a MonteCarlo Markov Chain. The file contains thousends of lines. Then create the 2D histogram and make contourplots.