%GNUPLOT{"PlotName"}%
anywhere in the page where you want the plot to appear and save the topic
Pre-rendered sample (MultigraphWithErrorbars):![]() |
Plugin (MultigraphWithErrorbars): GnuPlotPlugin Error: Cannot display the plot because the image file (MultigraphWithErrorbars .png) has zero size. With a bit of luck the reason for this will be shown below. Gnuplot Error: set data style lp ^ "/tmp/MultigraphWithErrorbars.gnu", line 5: Unrecognized option. See 'help set'. |
Verbatim (MultigraphWithErrorbars):%GNUPLOT{"MultigraphWithErrorbars"}% Plot settings: set title "MultigraphWithErrorbars" set xlabel "X Axis Label" set ylabel "Y Axis Label" set term gif set data style lp set terminal png plot [.8:4.2] "MultigraphWithErrorbarsData.data" using 1:2 t "Curve Title", \ "MultigraphWithErrorbarsData.data" using 1:2:3:4 notitle with errorbars ps 0, \ "MultigraphWithErrorbarsData.data" using 1:5 t "Other Curve", \ "MultigraphWithErrorbarsData.data" using 1:5:6:7 notitle with errorbars ps 0 |
Pre-rendered sample (CIAWorldDataBankIIDenmark):![]() |
Plugin (CIAWorldDataBankIIDenmark): GnuPlotPlugin Error: Cannot display the plot because the image file (CIAWorldDataBankIIDenmark .png) has zero size. With a bit of luck the reason for this will be shown below. Gnuplot Error: set data style dots ^ "/tmp/CIAWorldDataBankIIDenmark.gnu", line 5: Unrecognized option. See 'help set'. |
Verbatim (CIAWorldDataBankIIDenmark):%GNUPLOT{"CIAWorldDataBankIIDenmark"}% Plot settings: set title "CIAWorldDataBankIIDenmark" set noxtics set noytics set noborder set data style dots set terminal png plot "CIAWorldDataBankIIDenmarkData.data" title "" with lines |
Pre-rendered sample (BlueWhale):![]() |
Plugin (BlueWhale): GnuPlotPlugin Error: Cannot display the plot because the image file (BlueWhale .png) has zero size. With a bit of luck the reason for this will be shown below. Gnuplot Error: set data style line ^ "/tmp/BlueWhale.gnu", line 7: Unrecognized option. See 'help set'. |
Verbatim (BlueWhale):%GNUPLOT{"BlueWhale"}% Plot settings: set parametric set hidden3d set nokey set xrange [0:8] set yrange [-4:4] set zrange [-2:2] set data style line set title "Blue Whale" set terminal png splot "whale.dat" |
set terminal png size 350,280
line into something larger (i.e. 1000,1000
).
Pre-rendered sample (RosenbrockFunction):![]() |
Plugin (RosenbrockFunction): GnuPlotPlugin Error: Cannot display the plot because the image file (RosenbrockFunction .png) has zero size. With a bit of luck the reason for this will be shown below. Gnuplot Error: set title "Rosenbrock Function" 0.000000,0.000000 font "" ^ "/tmp/RosenbrockFunction.gnu", line 7: ';' expected |
Verbatim (RosenbrockFunction):%GNUPLOT{"RosenbrockFunction"}% Plot settings: set logscale z 10 set view 20, 340, 1, 1 set isosamples 60, 60 set hidden3d offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set style data lines set ticslevel 0 set title "Rosenbrock Function" 0.000000,0.000000 font "" set xlabel "x" -5.000000,-2.000000 font "" set xrange [ * : * ] noreverse nowriteback # (currently [0.00000:15.0000] ) set ylabel "y" 4.000000,-1.000000 font "" set yrange [ * : * ] noreverse nowriteback # (currently [0.00000:15.0000] ) set zlabel "Z axis" 0.000000,0.000000 font "" set zrange [ * : * ] noreverse nowriteback # (currently [-1.20000:1.20000] ) set terminal png size 350,280 splot [-1.5:1.5] [-0.5:1.5] (1-x)**2 + 100*(y - x**2)**2 |
data/debug.txt
)
GnuPlotPlugin.zip
in your twiki installation directory. File: | Description: |
---|---|
data/TWiki/GnuPlotPlugin.txt | Plugin topic |
data/TWiki/GnuPlotPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/GnuPlotPlugin.pm | Plugin Perl module |
lib/TWiki/Plugins/GnuPlotPlugin/Plot.pm | Perl module responsible for rendering the plot area |
lib/TWiki/Plugins/GnuPlotPlugin/PlotSettings.pm | Perl module responsible for managing the settings |
/lib/TWiki/Plugins/GnuPlotPlugin/Plot.pm
look for the following line and update the paths to fit your environment: # Update $gnuplotPath, $gnuplotHelperPath and $execCmd to fit your environment
Plugin Author: | TWiki:Main.AbieSwanepoel |
Plugin Version: | 30 Apr 2006: (V1.030) |
Change History: | |
30 Apr 2006: | Added sandbox security mechanism (TWiki:Main.SteffenPoulsen) |
19 Apr 2006: | Fixed anchors, added 3D examples, added png size option (TWiki:Main.SteffenPoulsen) |
17 Apr 2006: | Doc update, changed working dir to ATTACHURLPATH (TWiki:Main.SteffenPoulsen) |
27 Jan 2006: | Initial version |
TWiki Dependency: | $TWiki::Plugins::VERSION 1.1 |
CPAN Dependencies: | none |
Other Dependencies: | GnuPlot (available from http://www.gnuplot.info) with support for a PNG terminal |
Perl Version: | 5.005 |
License: | GPL ( GNU General Public License) |
Benchmarks: | GoodStyle 100%, FormattedSearch 100%, GnuPlotPlugin 100% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/GnuPlotPlugin |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/GnuPlotPluginDev |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/GnuPlotPluginAppraisal |