Date: Fri, 29 Dec 2006 18:57:39 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.3.13)
X-Rcs-Id: $Id: Help%2FPloticusPlugin,v 1.1 2007-01-02 13:26:05 rurban Exp $
Content-Type: application/x-phpwiki;
pagename=Help%2FPloticusPlugin;
pgsrc_version="2 $Revision: 1.1 $";
flags="";
markup=2;
charset=iso-8859-1
Content-Transfer-Encoding: binary
The Ploticus plugin passes all its arguments to the ploticus
binary and displays the result as PNG, GIF, EPS, SVG or SWF.
Ploticus is a free, GPL, non-interactive software package
for producing plots, charts, and graphics from data.
See http://ploticus.sourceforge.net/doc/welcome.html
Note:
- For windows you need either a gd library with GIF support or
a ploticus with PNG support. This comes e.g. with the cygwin build.
- We support only images supported by GD so far (PNG most likely).
No EPS, PS, SWF, SVG or SVGZ support yet, due to limitations in WikiPluginCached.
This will be fixed soon.
Ploticus uses a cache expire date of days.
! Usage:
or without any script: (not tested)
TODO: PloticusSql - create intermediate data from SQL. Similar to [SqlResult|Help:SqlResultPlugin],
just in graphic form.
For example to produce nice looking pagehit statistics or ratings statistics.
Ploticus has its own sql support within #getproc data, but this would expose security information.
! Arguments
device (_optional_):
png,gif,svgz,svg,jpeg,
-prefab :
passed to ploticus. requires PLOTICUS_PREFABS
-csmap:
create an clickable imagemap. passed to ploticus as -csmap -mapfile $tempfile.map
data:
pagelist support. See Help:WikiPlugin. The resulting list of
pages is used as source for #proc getdata\ndata:
alt:
alternate text for the resulting image
help:
Display the argument synopsis as image.
All other arguments are used as source to ploticus.
! Optional Configuration
config.ini:
PLOTICUS_EXE = pl.exe (on windows)
PLOTICUS_EXE = /usr/local/bin/pl (elsewhere)
prefabs need the environment variable PLOTICUS_PREFABS. Default: /usr/share/ploticus.
Maybe also set by the config variable PLOTICUS_PREFABS.
See also [WikiPluginCached|Help:WikiPluginCached] options in config.ini.
! Examples
! Author
PhpWiki:ReiniUrban
! See Also
----
PhpWikiDocumentation Help:WikiPlugin