Name
plot_to_gif( ) — generate a GIF from data and write to a file
Synopsis
GIFgraph::plot_to_gif(filename
,\@data
)
This method
performs the same operation as plot( )
, but
writes it to the file indicated by the filename
string; this is simply a convenience routine that allows you to
bypass the opening of a filehandle. For example:
$graph->plot_to_gif('graphout.gif', \@data);
Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.