I figured it out!! its the data. just multiply the data by some decimal number say foreach $i (@data){ $i = $i *1000; } get the distinct values and proceed to the histogram. The bins seem to + work for only integers.(I am still a novice , please correct me if i + am wrong). So if anyone has decimal numbers and need to plot histogram. just scal +e it!!! Thanks a lot for the all help! This site is very helpful. I am learnin +g a lot
In reply to Re^5: Histogram in Perl
by Jaya
in thread Histogram in Perl
by Jaya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |