From: johanngoetz <jg...@uc...> - 2012-01-30 18:39:05
|
nahren manuel wrote: > > Hello , > I have a two dimensional array, 40X20(rowsXcolumns). Each of the 40 rows > themselves hold values of the bins of a distribution (which is not always > normal, can expect a bimodal curve as well) > > It is little difficult to explain to I actually created a sample figure: > > http://www.flickr.com/photos/nahrenmascarenhas/6771369071/in/photostream > > Any help or trick will be very useful > loads of thanks > > nahren > I took some of the code that I use regularly and came up with this minimal example of fitting data very similar to the figure you showed above. I hope the explanations in the code are clear enough. https://sites.google.com/site/theodoregoetz/notes/fittingaprofilein2dhistogramdata link to my website with code example Here is the code and the output figure. Hope this helps someone! Johann. http://old.nabble.com/file/p33231288/y_profile.py y_profile.py http://old.nabble.com/file/p33231288/y_profile.png -- View this message in context: http://old.nabble.com/histogram-plots-color-range-tp33215265p33231288.html Sent from the matplotlib - users mailing list archive at Nabble.com. |