There are lots of packages that are capable of doing plotting in Julia already

Gadfly,

Plots, etc. which are all capable of doing histograms. If you are set on calculating the bins and widths yourself and making your own function to plot the histogram I suggest you read through the wiki article on

histograms, they have an excellent section on many different

rules for selecting bin sizes and widths.

On Tuesday, August 23, 2016 at 9:30:44 AM UTC-5, Ahmed Mazari wrote:

Hello,

l want to plot a histogram for gibbs sampling distribution. But l don't know how to choose the number of bins !!

x is the set of all possible values

y the frequency of each x value.

What should be the appropriate number of bins ?

Thank you

--

You received this message because you are subscribed to the Google Groups "julia-stats" group.

To unsubscribe from this group and stop receiving emails from it, send an email to

[hidden email].

For more options, visit

https://groups.google.com/d/optout.