Using histogram or better to say a probability density function (PDF) is a daily task for many people in science and engineering. Making a histogram is the same as a PDF: one just needs to add a keyword “normed=True”. Since making histogram is a standard example in Matplotlib, I do not repeat it here in [...]
Posts Tagged ‘histogram’
Python-histogram-histtype=’step’
Posted in Python, tagged histogram on November 15, 2011 | Leave a Comment »
2D density plot (or 2D histogram)
Posted in Python, tagged density plot, histogram, math, science on October 1, 2011 | 1 Comment »
Sometimes we have to prepare scatter plot of two parameters. When number of elements in each parameter is a big number, e.g., several thousands, and points are concentrated, it is very difficult to use a standard scatter plot. The reason is that due to over-population, one cannot say where the density has a maximum. In [...]