The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Chart::HeatMap::Simple - Perl extension for producing a simple heatmap graph

SYNOPSIS

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();

DESCRIPTION

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.

EXPORT

new render_heatmap compare_to_first_column

SEE ALSO

AUTHOR

Thuan-Jin Kee, <jin.kee@gmail.com>

COPYRIGHT AND LICENSE

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.