toff has asked for the wisdom of the Perl Monks concerning the following question:
code snippet ... $my_graph = new GD::Graph::lines(500,400); $size = scalar @resTimes; my $skip = int ( $size / 7 ); $my_graph->set( x_label => 'Date', y_label => 'Price', title => 'Pair: '.$myFname. '-'.$mySname .' Cor= '.$aCorr . ' + Per= ' .$aPeriod, text => 'Line Graph', x_min_value => 0, y_min_value => 0, box_axis => 1, line_width => 1, x_label_skip => $skip, y_label_skip => 1, x_label_position => 1/2, y_label_position => 1/2, long_ticks => 1, transparent => 0, t_margin => 10, b_margin => 10, l_margin => 10, r_margin => 15, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GD Graph plot centered
by zentara (Cardinal) on Jul 20, 2007 at 16:28 UTC |