Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.201.304 Times

SVGGraph 0.07

  Date Added: March 24, 2010  |  Visits: 705

SVGGraph

Report Broken Link
Printer Friendly Version


Product Homepage
Download (95 downloads)



SVGGraph is a Perl extension for creating SVG Graphs / Diagrams / Charts / Plots. SYNOPSIS use SVGGraph; my @a = (1, 2, 3, 4); my @b = (3, 4, 3.5, 6.33); print "Content-type: image/svg-xmlnn"; my $SVGGraph = new SVGGraph; print SVGGraph->CreateGraph( {title => Financial Results Q1 2002}, [@a, @b, Staplers, red] ); This module converts sets of arrays with coordinates into graphs, much like GNUplot would. It creates the graphs in the SVG (Scalable Vector Graphics) format. It has two styles, verticalbars and spline. It is designed to be light-weight. If your internet browser cannot display SVG, try downloading a plugin at adobe.com. EXAMPLES For examples see: http://pearlshed.nl/svggraph/1.png and http://pearlshed.nl/svggraph/2.png Long code example: #!/usr/bin/perl -w -I. use strict; use SVGGraph; ### Array with x-values my @a = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20); ### Arrays with y-values my @b = (-5, 2, 1, 5, 8, 8, 9, 5, 4, 10, 2, 1, 5, 8, 8, 9, 5, 4, 10, 5); my @c = (6, -4, 2, 1, 5, 8, 8, 9, 5, 4, 10, 2, 1, 5, 8, 8, 9, 5, 4, 10); my @d = (1, 2, 3, 4, 9, 8, 7, 6, 5, 12, 30, 23, 12, 17, 13, 23, 12, 10, 20, 11); my @e = (3, 1, 2, -3, -4, -9, -8, -7, 6, 5, 12, 30, 23, 12, 17, 13, 23, 12, 10, 20); ### Initialise my $SVGGraph = new SVGGraph; ### Print the elusive content-type so the browser knows what mime type to expect print "Content-type: image/svg-xmlnn"; ### Print the graph print $SVGGraph->CreateGraph( { graphtype => verticalbars, ### verticalbars or spline imageheight => 300, ### The total height of the whole svg image barwidth => 8, ### Width of the bar or dot in pixels horiunitdistance => 20, ### This is the distance in pixels between 1 x-unit title => Financial Results Q1 2002, titlestyle => font-size:24;fill:#FF0000;, xlabel => Week, xlabelstyle => font-size:16;fill:darkblue, ylabel => Revenue (x1000 USD), ylabelstyle => font-size:16;fill:brown, legendoffset => 10, 10 ### In pixels from top left corner }, [@a, @b, Bananas, #FF0000], [@a, @c, Apples, #006699], [@a, @d, Strawberries, #FF9933], [@a, @e, Melons, green] );.

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Programming Svg Graphs Svggraph
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


SVGGRAPH RELATED
Development Tools  -  SvgGrapher 1.2
SvgGrapher is a php5 library to generate SVG graphs. The svg document generated by visuals, scripts and others plugins includes in the releases are Valid SVG 1.1.
4.03 MB  
Libraries  -  SVG::Template::Graph 0.11
SVG::Template::Graph is a Perl extension for generating template-driven graphs with SVG. SYNOPSIS use SVG::Template::Graph; $data = [ { barGraph=>1,# barSpace=>20, title=> 1: Trace 1, data => #hash ref containing x-val and y-val array...
 
Libraries  -  Bio::TreeIO::svggraph 1.4
Bio::TreeIO::svggraph is a simple output format that converts a Tree object to an SVG output. SYNOPSIS use Bio::TreeIO; my $in = new Bio::TreeIO(-file => input, -format => newick); my $out = new Bio::TreeIO(-file => >output, -format =>...
4.7 MB  
Libraries  -  SVG::Graph 0.01
SVG::Graph is a Perl module to visualize your data in Scalable Vector Graphics (SVG) format. SYNOPSIS use SVG::Graph; use SVG::Graph::Data; use SVG::Graph::Data::Datum; #create a new SVG document to plot in... my $graph =...
88.06 KB  
Libraries  -  SVG::Metadata 0.28
SVG::Metadata is a Perl module to capture metadata info about an SVG file. SYNOPSIS use SVG::Metadata; my $svgmeta = new SVG::Metadata; $svgmeta->parse($filename) or die "Could not parse $filename: " . $svgmeta->errormsg();...
25.6 KB  
Libraries  -  SVG::SVG2zinc 0.10
SVG::SVG2zinc is a Perl module to display or convert svg files in scripts, classes, images... SYNOPSIS use SVG::SVG2zinc; &SVG::SVG2zinc::parsefile(file.svg, Backend,file.svg, -out => outfile, -verbose => $verbose, -namespace => 0|1,...
133.12 KB  
Libraries  -  Games::Maze::SVG::Manual 0.75
Games::Maze::SVG::Manual is a Perl module with manual for the Games::Maze::SVG modules. PURPOSE The Games::Maze::SVG module supports the creation of 2-dimensional mazes in an SVG format suitable for printing or playing interactively. This...
35.84 KB  
Libraries  -  SVG::Parser 1.01
SVG::Parser is a Perl module with XML Parser for SVG documents. SYNOPSIS #!/usr/bin/perl -w use strict; use SVG::Parser; die "Usage: $0 n" unless @ARGV; my $xml; { local $/=undef; $xml= ; } my $parser=new SVG::Parser(-debug =>...
14.34 KB  
Libraries  -  Games::Go::SGF2misc::SVG 1.00
Games::Go::SGF2misc::SVG is a Perl package to simplify SGF game rendering using Image::LibrSVG. SYNOPSIS use Games::Go::SGF2misc::SVG; my $image = new Games::Go::SGF2misc::SVG(imagesize => 3in, boardsize => 19, gobanColor=> white );...
6.14 KB  
Libraries  -  SVG::Element 2.33
SVG::Element is a Perl module to generate the element bits for SVG.pm. SVG.pm makes it possible to generate fully-functional SVG images in perl. 100% of the SVG tags are supported, and any new arbitrary element tag can be added by users by...
47.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB