Audio-DB
view release on metacpan or search on metacpan
DB/Reports.pm view on Meta::CPAN
my ($bred,$bgreen,$bblue) = @{$background};
my $bg = $im->colorAllocate($bred,$bgreen,$bblue);
push(@$foreground,0,255,255) unless @$foreground;
my ($fred,$fgreen,$fblue) = @$foreground;
my $fg = $im->colorAllocate($fred,$fgreen,$fblue);
my $black = $im->colorAllocate(0,0,0);
my $blue = $im->colorAllocate(0,0,255);
$im->transparent($bg);
$im->rectangle(0 + $PADLEFT,0 + $PADTOP,
$width - $PADRIGHT,$height - $PADBOTTOM,$black);
# Set up the axis, grid, and labels
# Create a suitable scale of y-axis tick marks
# if drawing 10 up the axis
my $division = int($biggest_year/10);
my $total = $division * 10;
for (my $i = 0;$i<=9;$i++) {
my $y1 = ($division * $i) * $yscale + $PADBOTTOM;
( run in 0.380 second using v1.01-cache-2.11-cpan-a1d94b6210f )