On Tue, 6 Dec 2005, Alex Brelsfoard wrote:
> I've got a project coming up that's going to need me to make
> graphs. I do not yet know what kind of graph (dot, line, bar, etc.).
> But I am told that it needs to be pretty (and probably with multiple
> colors). The data needing to be displayed will be anywhere from 5
> points, to many thousands of points. There will be some times where I
> will need to have multiple datasets (separated by color) set on the
> same graph, one over the next.
> I was thinking of a brute-force way of doing this with associative
> arrays. But I was wondering if you all had any better suggestions.
> Are there any good, friendly, tested modules for this sort of thing?
> Is this a time for Perl tk? Would this be better off in Java?
Have you looked at SVG::Graph or SVG::TT::Graph ?
http://search.cpan.org/~allenday/SVG-Graph/Graph.pm
http://search.cpan.org/~llap/SVG-TT-Graph/lib/SVG/TT/Graph.pm
http://sourceforge.net/projects/svg-graph
http://leo.cuckoo.org/projects/SVG-TT-Graph/
http://use.perl.org/~davorg/journal/20979
Quoting from that last URL:
At first I looked at GD::Graph as that's pretty much seen as the
"standard" Perl graphing module. But, to be honest, the output
really isn't up to the quality that you can get from Excel.
Then someone suggested that I look at SVG::TT:Graph instead. And
it's great. I got some very useable graphs up in about 15 minutes
(then, of course, I spent two hours "tweaking" them).
Of course, the catch is that you have to find a way to display SVG
graphics for the project. If the goal is for this to be served over the
web, most browsers still don't have SVG support by default, though there
are good plugins that can be downloaded & installed. These pages give a
pretty good overview of SVG issues, including browser support:
http://www.carto.net/papers/svg/samples/
http://sdx.archivesdefrance.culture.gouv.fr/gpl/navimages/en/svgViewer.html
--
Chris Devers
d»Ó¼urÆðekù
_______________________________________________
Boston-pm mailing list
Boston-pm-PqP1ghmmPMdAfugRpC6u6w@xxxxxxxxxxxxxxxx
http://mail.pm.org/mailman/listinfo/boston-pm
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|