> so suggest me some way to plot it
I did.
unless you're the only person to have ever wanted to plot a histogram in
java,
there should be heaps of sample code out there.
grab some of the code, modify to suit, then, if you have problems,
you can post the code you've tried.
if you're waiting for someone to write it for you, there's
rent-a-coder for that