Re: [Matplotlib-users] Pdf plot

2013-11-04 Thread Benjamin Trendelkamp-Schroer
Hi, I'd recommend to load the binary data and store it as a numpy ndarray, http://docs.scipy.org/doc/numpy/reference/arrays.ndarray.html If your data is one-dimensional you can simply use matplotlib.pyplot.hist, http://matplotlib.org/api/pyplot_api.html to plot the histogram. The 'normed' keyw

[Matplotlib-users] Pdf plot

2013-11-03 Thread Sourav Chatterjee
I have binary files containing some discrete data. I need to calculate the probability density function (pdf) and plot the same. Do I need to unpack the data files? How? For plotting the pdf what module is easier? -- Sourav Chatterjee Trainee Scientist Indian Institute of Tropical Meteorology, Pu