1 Date: Wed, 4 Mar 2015 14:20:06 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.5.3)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FPloticusPlugin;
7 Content-Transfer-Encoding: binary
9 The **Ploticus** [[Help:WikiPlugin|plugin]] passes all its arguments to the Ploticus
10 binary and displays the result as PNG, GIF, EPS, SVG, SVGZ or SWF.
11 Ploticus is a free, GPL, non-interactive software package
12 for producing plots, charts, and graphics from data.
13 See http://ploticus.sourceforge.net/doc/welcome.html
15 Ploticus uses a cache expire date of days.
19 <<Ploticus device||=png [ploticus options...]
20 multiline ploticus script ...
24 or without any script: (not tested)
27 <<Ploticus -prefab vbars
28 data=myfile.dat delim=tab y=1
29 clickmapurl="http://mywiki.url/wiki/?pagename=@2"
30 clickmaplabel="@3" -csmap
34 TODO: ~PloticusSql - create intermediate data from SQL. Similar to [[Help:SqlResultPlugin|SqlResult]] plugin,
36 For example to produce nice looking pagehit statistics or ratings statistics.
37 Ploticus has its own sql support within #getproc data, but this would expose security information.
48 | gif, png, jpeg, svg, svgz, eps, swf. Any -T parameter supported by Ploticus.
52 | optionally add data by <!plugin-list !> pagelist plugins. See [[Help:WikiPlugin]]
56 | alt text for the image
60 | use the given prefab script (may need PLOTICUS_PREFABS)
64 | If a clickable map should be produced (not yet tested) passed to Ploticus as -csmap -mapfile $tempfile.map
72 All other arguments are used as source to Ploticus.
76 For Windows you need either a gd library with GIF support or
77 a Ploticus with PNG support. This comes only with the Cygwin
80 == Optional Configuration ==
83 PLOTICUS_EXE = pl.exe (on Windows)
84 PLOTICUS_EXE = /usr/local/bin/pl (elsewhere)
86 prefabs need the environment variable PLOTICUS_PREFABS. Default: /usr/share/ploticus.
87 Maybe also set by the config variable PLOTICUS_PREFABS.
89 See also [[Help:WikiPluginCached]] options in config.ini.
96 <<Ploticus device||=png alt="Sample Pie Chart"
98 #if @DEVICE in gif,png
102 // specify data using {proc getdata}
115 // render the pie graph using {proc pie}
118 explode: .2 0 0 0 0 .2 0
121 labelmode: line+label
124 colors: yellow pink pink pink pink yellow pink
130 * [[Help:Reini Urban|Reini Urban]]
133 * [[Help:GraphVizPlugin]]
137 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]