[PLUG] XY Graph to .gif file

Frank Hunt linux at frankhunt.com
Fri Nov 16 18:34:26 UTC 2007


Thanks for the replies - finally figured out how to get xgraph working.
All is well . . .

Galen Seitz wrote:
> 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
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 

-- 
frank hunt
erstwhile linux admin
hilsboro oregon



More information about the PLUG mailing list