[PLUG] XY Graph to .gif file
Galen Seitz
galens at seitzassoc.com
Fri Nov 16 17:15:15 UTC 2007
Frank Hunt wrote:
> I need to generate via cron, a simple x,y graph with the output going to
> an image file, preferably .gif. I don't want it to use the display
> since the generated file is to be included in a web page.
>
> Ideas appreciated . . .
>
> fh
>
gnuplot can do this. Depending on how gnuplot is built, it will
likely require X11 libraries, but I don't think it will insist on
opening an X11 display.
galens at toto:~$ cat gnuplot_cmds
set terminal gif
set output 'sin.gif'
plot sin(x)
galens at toto:~$ gnuplot gnuplot_cmds
galens at toto:~$ ll sin.gif
-rw-r--r-- 1 galens galens 6871 Nov 16 09:11 sin.gif
galen
More information about the PLUG
mailing list