LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Perl cgi and graphs (https://www.linuxquestions.org/questions/programming-9/perl-cgi-and-graphs-19107/)

berry 04-22-2002 03:47 AM

Perl cgi and graphs
 
Hi All!

I'm writng an application using Apache, perl and MySQL. I want to show some graphs in the produced webpages. How can I do that best? I understand that there are some modules for this, but I haven't looked at these yet. But I wondered if it can be done with GnuPlot. I think I have to call GnuPlot via the script and let it produce an image file (gif or so) and include that in my html.

Does anyone have an example on how to do this (or maybe you have a better suggestion)?

Thanks!
:study:

kervin 05-19-2002 02:51 PM

php would do this quite easily. there are a bunch of classes that interface with GD.

use GD library. http://www.boutell.com/gd/

did you try CPAN? http://cpan.perl.com/

http://search.cpan.org/Catalog/Graphics/

sewer_monkey 05-22-2002 02:22 PM

I remember downloading a perl module called XYGraph.pm a while ago... It wa pretty traightforward and easy to use. Basically, it was a frontend to GD.pm that handled graphs. I tried looking for it on google, but could not find it... :(


All times are GMT -5. The time now is 07:59 PM.