in reply to GD::Graph and log scale

A full working snippet would be helpful, showing how you read DATA, and how you draw the graph. But as a guess you could try to use "length" to filter the undef from the 0.

"length undef" will = 0, while "length 0" will be 1.


I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: GD::Graph and log scale
by lima1 (Curate) on Apr 05, 2006 at 12:40 UTC
    argh, perlmonks.org rule #1: first coffee, then post.

    adding 1 to scaled log values and using exp($v - 1) seems to work fine.