1 Date: Wed, 2 Jun 2004 21:09:39 +0200
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.11pre)
3 X-Rcs-Id: $Id: PloticusPlugin,v 1.3 2004-06-03 22:27:09 rurban Exp $
4 Content-Type: application/x-phpwiki;
5 pagename=PloticusPlugin;
6 pgsrc_version="2 $Revision: 1.3 $";
10 Content-Transfer-Encoding: binary
12 The Ploticus WikiPlugin passes all its arguments to the ploticus
13 binary and displays the result as PNG, GIF, EPS, SVG or SWF.
14 Ploticus is a free, GPL, non-interactive software package
15 for producing plots, charts, and graphics from data.
16 See http://ploticus.sourceforge.net/doc/welcome.html
20 <?plugin Ploticus device||=png [ploticus options...]
21 multiline ploticus script ...
29 alt text for the image
31 If a clickable map should be produced (not yet tested)
33 Show a help screen (not yet)
37 # For windows you need either a gd library with GIF support or
38 a ploticus with PNG support. This comes only with the cygwin
39 built pl221win32cygmax.zip.
40 # We support only images supported by GD so far (PNG most likely).
41 No EPS, PS, SVG, SVGZ or SWG support yet due to API limitations in
42 ~WikiPluginCached. No technical problems, so you can expect it soon.
46 <?plugin Ploticus device||=png
48 #if @DEVICE in gif,png
52 // specify data using {proc getdata}
65 // render the pie graph using {proc pie}
68 explode: .2 0 0 0 0 .2 0
74 colors: yellow pink pink pink pink yellow pink
78 The pie chart above was produced by this code from the ploticus
82 <?plugin Ploticus device||=png alt="Sample Pie Chart"
84 #if @DEVICE in gif,png
88 // specify data using {proc getdata}
101 // render the pie graph using {proc pie}
104 explode: .2 0 0 0 0 .2 0
107 labelmode: line+label
110 colors: yellow pink pink pink pink yellow pink