How to draw histogram is specific bin size?

  • zaki

    zaki - 2012-10-15

    gr->Hist(x,z), how to set bin step ?

  • Alexey Balakin

    Alexey Balakin - 2012-10-15

    You can use option "value". For example

    gr->Hist(x,z,"value 1000");

    will create histogram of 1000 points distributed in x-range.

    Alternatively, you can set value of mglFitPnts variable.

  • zaki

    zaki - 2012-10-15

    Thanks abalakin, I just successfully compile Mathgl on win7 vs2010 32, the gnu
    win32 link on the help page is little older that libpng and zilib I tried not
    compatible with win7.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks