[LON-CAPA-admin] Plots on Debian

Guy Albertelli II guy at albertelli.com
Fri Jun 27 11:23:25 EDT 2003


Hi Todd,

Mail is still a bit wonky here, (We did a massive reorg of our racks
yesterday and are still checking things out.)

Anyway:


> I've really been poking in the guts of this thing now, and probably know
> more than I ever wanted to about how dynamic plots work.  This is what
> I've found out:
> 
> as root, if I:
> 
> gnuplot /home/httpd/perl/tmp/file_plot.data > test.gif
> 
> I get a gif that both xv and mozilla can view without a problem.
> 
> If I artificially set the QUERY_STRING environment variable to
> file=file_plot.data&output=gif
> 
> so I can run the plot.gif script and pipe the output to test.gif,

Can you take a look at the test.gif generated this way with a text
editor? And send me a copy. (Send it to guy at albertelli.com, msu's
email has also gone wonky.)

> Perhaps something with my version of apache?

Apache is likely fine.

Something I fear is the gnuplot build installs by default in
/usr/local/bin

Maybe the webserver doesn't have this in it's path? (Maybe make a link
in /usr/bin to the /usr/local/bin gnuplot)

-- 
guy at albertelli.com  LON-CAPA Developer  0-7-6-7-



More information about the LON-CAPA-admin mailing list