develooper Front page | perl.beginners | Postings from February 2009

Re: Simple way to do line graphs???

Thread Previous
From:
Chas. Owens
Date:
February 21, 2009 18:27
Subject:
Re: Simple way to do line graphs???
Message ID:
58ce48dc0902211827q130cf169x436e6f8138e4a9ca@mail.gmail.com
On Sat, Feb 21, 2009 at 19:15, Paul <opensource@unixoses.com> wrote:
> Trying to make some kind of script to do simple line graphs from a CSV
> file to X and Y.  There will be various amounts, probably allot, like
> hundreds of data for each.
>
> I've checked out modules GD::Graph, SVG::Graph, but run into the endless
> need for more and more modules, like dependency he**.  And Text::Graph is
> just too limiting.
>
> Is there a more simple solution?
snip

Needing lots of modules is not dependency hell, needing different
versions of the same modules is dependency hell.  To make your life
easier, use your native package management system to solve the
problem:

sudo apt-get install libgd-graph-perl

If your favorite package management doesn't have GD::Graph, you can
set CPAN to follow and just say

cpan GD::Graph

and walk away for the computer for a while.  If you absolutely cannot
stand letting cpan install the dependencies for you then take a look
at the gnuplot program*.

* http://www.gnuplot.info/


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About