[Graph-dev] Patch: Gnuplot.pm and functions
Martin Thornquist
martint at ifi.uio.no
Tue May 25 02:30:03 PDT 2004
Hi,
I have patched Gnuplot.pm to accept another data type, namely, a
function. I have tested this with gnuplot 4.0.0. Please consider these
two patches (one for Graph/Gnuplot.pm and one for
doc/graph_gnuplot.html) for inclusion. The patches are "diff -u"'s
against Chart-Graph-2.0 sources.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gnuplot.pm.patch
Type: text/x-patch
Size: 1073 bytes
Desc: not available
Url : http://rommie.caida.org/pipermail/graph-dev/attachments/20040525/9562dc3e/Gnuplot.pm.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph_gnuplot.html.patch
Type: text/x-patch
Size: 1785 bytes
Desc: not available
Url : http://rommie.caida.org/pipermail/graph-dev/attachments/20040525/9562dc3e/graph_gnuplot.html.bin
-------------- next part --------------
Example of usage:
use Chart::Graph::Gnuplot qw(gnuplot);
gnuplot({ title => "test",
"output type" => "gif",
"output file" => "test.gif",
},
[ { title => "graph",
type => "function" },
"f(x) = x**2, f(x)" ]);
Martin
--
"An ideal world is left as an exercise to the reader."
-Paul Graham, On Lisp
More information about the Graph-dev
mailing list