Chart::HeatMap::Simple - Perl extension for producing a simple heatmap graph
use Chart::HeatMap::Simple; my @array; while (<STDIN>){ my @line = split (/[,\t]/,$_); push @array, \@line; } my $HeatMap = new Chart::HeatMap::Simple(_input_array=>\@array); $HeatMap->render_heatmap();
Chart::HeatMap::Simple is an easy way to produce heatmaps from arbitary 2D arrays. It uses only one dependency PostScript::Simple and features a programmer replacable colour distribution.
new render_heatmap compare_to_first_column
Thuan-Jin Kee, <jin.kee@gmail.com>
Copyright (C) 2007 by Thuan-Jin Kee
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Chart::HeatMap::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::HeatMap::Simple
CPAN shell
perl -MCPAN -e shell install Chart::HeatMap::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.