On 2013-11-03, Jim Gibson <jimsgib...@gmail.com> wrote:
> In article <okcdnxfaqqxze-jpnz2dnuvz_jgdn...@earthlink.com>, E.D.G.
><edgrs...@ix.netcom.com> wrote:
>
>>        My main, complex programs won't be run at Web sites. They will 
>> instead continue to be available as downloadable exe programs.  The CGI (or 
>> whatever) programming work would involve relatively simple programs. But 
>> they would need to be able to generate charts that would be displayed on Web 
>> pages. That sounds like it is probably fairly easy to do using Python. A 
>> Perl - Gnuplot combination is also supposed to be able to do that. But so 
>> far I have not seen any good explanations for how to actually get Gnuplot to 
>> run as a callable CGI program. So other programs such as Python are being 
>> considered.
>
> One way to generate plot within a CGI program is this:
>
> 1. Write a file with gnuplot commands (e.g., 'gnuplot.cmd') that set
> the output device to a graphics file of some format (e.g., PNG),
> generate a plot, and quit gnuplot.

Or you can use the pygnuplot module which handles much of that for y0ou.

http://pygnuplot.sourceforge.net/

-- 
Grant
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to