Problems? Is your data what you think it is? | |
PerlMonks |
Re: Plotting a Hash Key-value pairby martin (Friar) |
on Sep 28, 2010 at 05:13 UTC ( [id://862355]=note: print w/replies, xml ) | Need Help?? |
Are you sure you want to get a histogram with >60000 bars? Even with one-pixel wide bars this would fill a very big space. You might be able to do that with Gnuplot. CPAN has an interface to it: Chart::Gnuplot. See also ISBN 0380756668.
If what you really want to get is a histogram with a much smaller number of bars, you'd have to insert some sort of aggregation. You could add the values of 1000 adjacent keys (numerically sorted) into a new bucket each, say, and plot the accumulated values.
In Section
Seekers of Perl Wisdom
|
|