in reply to Creating a Histogram

I woulds suggest that you first save the image on your filesystem, and verify that it is indeed correct.

Then, and only then, work on an inline HTML page. :D

Don Wilde
"There's more than one level to any answer."