in reply to Re^3: GD::graph: layout Question. in thread GD::graph: layout Question.
Hey,
I also need the exactly same thing. so I tried your sample.
I think, the sample also doesn't start from 0 (Y axis), just it looks like it due to 100 data. The interval between ticks is a very small, it look like none but actually there is.
You can reduce the data by changing
from:
my @x = map {$_ * 3 * PI/100} (0 .. 100);
To:
my @x = map {$_ * 3 * PI/100} (0 .. 10);
You will see it also has the space before drawing the line.
Thanks,
|