Hi I used the formula $Y_max=(int($Y_max/8)+2)/8;
And it worked, so the Y_max is higher than the actual Y_max of the dataset -----Original Message----- From: Greg Sabino Mullane [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 8:08 PM To: john Cc: beginners@perl.org Subject: Re: GD::Graph and integer on the Y-axis -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Do you know how to define that all the numbers on the Y > axis should be integers? You have to set the format of the y-axis like so: $graph->set(y_number_format => '%d'); Where '$graph' is the GD::Graph object you previously created via the new method. - -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation PGP Key: 0x14964AC8 200610021303 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFFIUdevJuQZxSWSsgRAjL0AKCnIBO/bdFgeOnDv2kBnYmv7/6eAwCeJm01 Hcr25pjfGQM6M9yQMgWRPpE= =0Ixs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>