in reply to Granular padding peaks in graphs
Why not something as simple as
my $maxYaxis = $peak + 10; [download]