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

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

Serving Software Downloads in 976 Categories, Downloaded 29.659.801 Times

SVGGraph 0.07

  Date Added: March 24, 2010  |  Visits: 534

SVGGraph

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 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  -  GNU Classpath 0.95
GNU Classpath (essential libraries for Java) is a project to create free core class libraries for use with virtual machines and compilers for the Java programming language. GNU Classpath project includes all native methods and core classes...
6.5 MB  
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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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