SPUG: GIFgraph question

wings x wings15898 at yahoo.com
Sun Mar 12 20:37:24 CST 2000


Dear SPUGers,

I want to draw a gif using the following code:

use GIFgraph::lines;
my @LANG = sort qw(java perl vc vb);
my @plotdata = (
    [ "Oct", "Nov", "Dec" ],
    [ 1 , 2, 3 ],
);

my $graph = GIFgraph::lines->new(640,480);
$graph->set(
   x_label_vertical => 1,
   title => "number for each month"
);
$graph->set_legend(@RANKS);
$graph->plot_to_fig("c:/out.gif", \@plotdata);

but I keep getting the error message:
Can't locate object method "gif" via package
"GD::Image" at d:/perl/site/lib/GIFgraph/axestype.pm
line 119

I have GD version 1.25 and GIFgraph veresion 2.6

Where am I wrong?

Thanks,
wings

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list