Skip to content

Commit

Permalink
Item12873: generate svg in examples
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/GnuPlotPlugin@17614 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Apr 30, 2014
1 parent bafd678 commit cb23ccb
Show file tree
Hide file tree
Showing 29 changed files with 8,103 additions and 59 deletions.
54 changes: 20 additions & 34 deletions data/System/GnuPlotPlugin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="micha" comment="reprev" date="1398866564" format="1.1" reprev="15" version="15"}%
%META:TOPICINFO{author="ProjectContributor" comment="reprev" date="1398868193" format="1.1" reprev="15" version="15"}%
---+!! %TOPIC%

%SHORTDESCRIPTION{default=""}%
Expand Down Expand Up @@ -28,49 +28,49 @@ The following images are examples of plots generated by !GnuPlot:

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"TestInstall\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/TestInstallSample.png' alt='TestInstallSample' width='639' height='517' />"
else="<img src='%ATTACHURLPATH%/TestInstall.svg' alt='TestInstall' width='639' height='517' />"
}%

---+++ Multi graphs with errorbars, datafile based

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"MultigraphWithErrorbars\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/MultigraphWithErrorbarsSample.png' alt="MultigraphWithErrorbarsSample' width='631' height='517' />"
else="<img src='%ATTACHURLPATH%/MultigraphWithErrorbars.svg' alt="MultigraphWithErrorbars' width='631' height='517' />"
}%

---+++ Damped sinus, datafile based

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"DampedSinus\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/DampedSinusSample.png' alt='DampedSinusSample' width='647' height='516' />"
else="<img src='%ATTACHURLPATH%/DampedSinus.svg' alt='DampedSinus' width='647' height='516' />"
}%

---+++ Map of Denmark, datafile based (data from CIA World Data Bank II)

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"CIAWorldDataBankIIDenmark\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/CIAWorldDataBankIIDenmarkSample.png' alt='CIAWorldDataBankIIDenmarkSample' width='635' height='518' />"
else="<img src='%ATTACHURLPATH%/CIAWorldDataBankIIDenmark.svg' alt='CIAWorldDataBankIIDenmark' width='635' height='518' />"
}%

---+++ Interlocking Tori (3D)

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"InterlockingTori\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/InterlockingToriSample.png' alt='InterlockingToriSample' />"
else="<img src='%ATTACHURLPATH%/InterlockingTori.svg' alt='InterlockingTori' />"
}%

---+++ Blue Whale (3D), datafile based

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"BlueWhale\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/BlueWhaleSample.png' alt='BlueWhaleSample' />"
else="<img src='%ATTACHURLPATH%/BlueWhale.svg' alt='BlueWhale' />"
}%

---+++ Alternative <nop>GnuPlot render sizes, Rosenbrock Function

%IF{"context GnuPlotPluginEnabled"
then="$percntGNUPLOT{\"RosenbrockFunction\" type=\"svg\"}$percnt"
else="<img src='%ATTACHURLPATH%/RosenbrockFunctionSample.png' alt='RosenbrockFunctionSample.png' width='640' height='480' />"
else="<img src='%ATTACHURLPATH%/RosenbrockFunction.svg' alt='RosenbrockFunction.svg' width='640' height='480' />"
}%

---++ Installation
Expand All @@ -94,33 +94,19 @@ The following images are examples of plots generated by !GnuPlot:
| 19 Apr 2006: | Fixed anchors, added 3D examples, added png size option (Foswiki:Main.SteffenPoulsen) |
| 17 Apr 2006: | Doc update, changed working dir to ATTACHURLPATH (Foswiki:Main.SteffenPoulsen) |
| 27 Jan 2006: | Initial version |
| Other Dependencies: | !GnuPlot (available from http://www.gnuplot.info) with support for a PNG terminal |
| Other Dependencies: | !GnuPlot (available from http://www.gnuplot.info) |
| License: | GPL ( [[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
| Plugin Home: | http://foswiki.org/Extensions/%TOPIC% |
| Support: | http://foswiki.org/Support/%TOPIC% |

%META:FILEATTACHMENT{name="DampedSinusSample.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>DampedSinusSample example" date="1146425499" path="DampedSinusSample.png" size="9541" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="DampedSinusData.data" attr="h" autoattached="1" comment="Data for <nop>DampedSinusData example" date="1146425499" path="DampedSinusData.data" size="4091" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MultigraphWithErrorbarsData.data" attr="h" autoattached="1" comment="Data for <nop>MultigraphWithErrorbarsData example" date="1146425499" path="MultigraphWithErrorbarsData.data" size="66" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MultigraphWithErrorbars.png" attr="h" autoattached="1" comment="" date="1146425781" path="MultigraphWithErrorbars.png" size="4919" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="InterlockingTori.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="InterlockingTori.gnu" size="324" user="UnknownUser" version="1"}%
%META:FILEATTACHMENT{name="TestInstall.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="TestInstall.gnu" size="100" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="InterlockingTori.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>InterlockingTori example" date="1146425782" path="InterlockingTori.png" size="8858" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="CIAWorldDataBankIIDenmark.png" attr="h" autoattached="1" comment="" date="1146425781" path="CIAWorldDataBankIIDenmark.png" size="8657" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="TestInstallSample.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>TestInstallSample example" date="1146425499" path="TestInstallSample.png" size="9309" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MultigraphWithErrorbars.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="MultigraphWithErrorbars.gnu" size="434" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="BlueWhaleSample.png" attr="h" autoattached="1" comment="" date="1146425499" path="BlueWhaleSample.png" size="9633" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MultigraphWithErrorbarsSample.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>MultigraphWithErrorbarsSample example" date="1146425499" path="MultigraphWithErrorbarsSample.png" size="9082" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="BlueWhale.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>BlueWhale example" date="1146425782" path="BlueWhale.png" size="4610" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="InterlockingToriSample.png" attr="h" autoattached="1" comment="" date="1146425499" path="InterlockingToriSample.png" size="15800" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="RosenbrockFunction.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>RosenbrockFunction example" date="1146425784" path="RosenbrockFunction.png" size="5130" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="DampedSinus.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="DampedSinus.gnu" size="126" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="BlueWhale.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="BlueWhale.gnu" size="179" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="CIAWorldDataBankIIDenmarkData.data" attr="h" autoattached="1" comment="Data for <nop>CIAWorldDataBankIIDenmark example" date="1146425499" path="CIAWorldDataBankIIDenmarkData.data" size="403115" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="TestInstall.png" attr="h" autoattached="1" comment="" date="1146425781" path="TestInstall.png" size="5060" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="CIAWorldDataBankIIDenmarkSample.png" attr="h" autoattached="1" comment="Pre-rendered graphics for <nop>CIAWorldDataBankIIDenmark example" date="1146425499" path="CIAWorldDataBankIIDenmarkSample.png" size="15279" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="DampedSinus.png" attr="h" autoattached="1" comment="" date="1146425781" path="DampedSinus.png" size="4659" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="CIAWorldDataBankIIDenmark.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="CIAWorldDataBankIIDenmark.gnu" size="182" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="whale.dat" attr="h" autoattached="1" comment="" date="1146425499" path="whale.dat" size="94590" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="RosenbrockFunction.gnu" attr="h" autoattached="1" comment="" date="1146425499" path="RosenbrockFunction.gnu" size="700" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="RosenbrockFunctionSample.png" attr="h" autoattached="1" comment="" date="1146425499" path="RosenbrockFunctionSample.png" size="9867" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="InterlockingTori.gnu" attr="" autoattached="1" comment="" date="1146425499" path="InterlockingTori.gnu" size="324" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="TestInstall.gnu" attr="" autoattached="1" comment="" date="1146425499" path="TestInstall.gnu" size="100" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MultigraphWithErrorbars.gnu" attr="" autoattached="1" comment="" date="1146425499" path="MultigraphWithErrorbars.gnu" size="434" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="DampedSinus.gnu" attr="" autoattached="1" comment="" date="1146425499" path="DampedSinus.gnu" size="126" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="BlueWhale.gnu" attr="" autoattached="1" comment="" date="1146425499" path="BlueWhale.gnu" size="179" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="CIAWorldDataBankIIDenmark.gnu" attr="" autoattached="1" comment="" date="1146425499" path="CIAWorldDataBankIIDenmark.gnu" size="182" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="whale.dat" attr="" autoattached="1" comment="" date="1146425499" path="whale.dat" size="94590" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="RosenbrockFunction.gnu" attr="" autoattached="1" comment="" date="1146425499" path="RosenbrockFunction.gnu" size="700" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="CIAWorldDataBankIIDenmark.data" attr="" autoattached="1" comment="Data for <nop>CIAWorldDataBankIIDenmark example" date="1146425499" moveby="micha" movedto="System.GnuPlotPlugin.CIAWorldDataBankIIDenmark.data" movedwhen="1398868039" movefrom="System.GnuPlotPlugin.CIAWorldDataBankIIDenmarkData.data" path="CIAWorldDataBankIIDenmarkData.data" size="403115" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="MultigraphWithErrorbars.data" attr="" autoattached="1" comment="Data for <nop>MultigraphWithErrorbarsData example" date="1146425499" moveby="micha" movedto="System.GnuPlotPlugin.MultigraphWithErrorbars.data" movedwhen="1398868055" movefrom="System.GnuPlotPlugin.MultigraphWithErrorbarsData.data" path="MultigraphWithErrorbarsData.data" size="66" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="DampedSinus.data" attr="" autoattached="1" comment="Data for <nop>DampedSinusData example" date="1146425499" moveby="micha" movedto="System.GnuPlotPlugin.DampedSinus.data" movedwhen="1398868061" movefrom="System.GnuPlotPlugin.DampedSinusData.data" path="DampedSinusData.data" size="4091" user="ProjectContributor" version="1"}%
31 changes: 12 additions & 19 deletions lib/Foswiki/Plugins/GnuPlotPlugin/MANIFEST
@@ -1,29 +1,22 @@
data/System/GnuPlotPlugin.txt 0644
lib/Foswiki/Plugins/GnuPlotPlugin.pm 0644
lib/Foswiki/Plugins/GnuPlotPlugin/Config.spec 0644
lib/Foswiki/Plugins/GnuPlotPlugin/Core.pm 0644
lib/Foswiki/Plugins/GnuPlotPlugin.pm 0644
pub/System/GnuPlotPlugin/BlueWhale.gnu 0644
pub/System/GnuPlotPlugin/BlueWhale.png 0644
pub/System/GnuPlotPlugin/BlueWhaleSample.png 0644
pub/System/GnuPlotPlugin/BlueWhale.svg 0644
pub/System/GnuPlotPlugin/CIAWorldDataBankIIDenmark.data 0644
pub/System/GnuPlotPlugin/CIAWorldDataBankIIDenmark.gnu 0644
pub/System/GnuPlotPlugin/CIAWorldDataBankIIDenmark.png 0644
pub/System/GnuPlotPlugin/CIAWorldDataBankIIDenmarkData.data 0644
pub/System/GnuPlotPlugin/CIAWorldDataBankIIDenmarkSample.png 0644
pub/System/GnuPlotPlugin/CIAWorldDataBankIIDenmark.svg 0644
pub/System/GnuPlotPlugin/DampedSinus.data 0644
pub/System/GnuPlotPlugin/DampedSinus.gnu 0644
pub/System/GnuPlotPlugin/DampedSinus.png 0644
pub/System/GnuPlotPlugin/DampedSinusData.data 0644
pub/System/GnuPlotPlugin/DampedSinusSample.png 0644
pub/System/GnuPlotPlugin/DampedSinus.svg 0644
pub/System/GnuPlotPlugin/InterlockingTori.gnu 0644
pub/System/GnuPlotPlugin/InterlockingTori.png 0644
pub/System/GnuPlotPlugin/InterlockingToriSample.png 0644
pub/System/GnuPlotPlugin/InterlockingTori.svg 0644
pub/System/GnuPlotPlugin/MultigraphWithErrorbars.data 0644
pub/System/GnuPlotPlugin/MultigraphWithErrorbars.gnu 0644
pub/System/GnuPlotPlugin/MultigraphWithErrorbars.png 0644
pub/System/GnuPlotPlugin/MultigraphWithErrorbarsData.data 0644
pub/System/GnuPlotPlugin/MultigraphWithErrorbarsSample.png 0644
pub/System/GnuPlotPlugin/MultigraphWithErrorbars.svg 0644
pub/System/GnuPlotPlugin/RosenbrockFunction.gnu 0644
pub/System/GnuPlotPlugin/RosenbrockFunction.png 0644
pub/System/GnuPlotPlugin/RosenbrockFunctionSample.png
pub/System/GnuPlotPlugin/RosenbrockFunction.svg 0644
pub/System/GnuPlotPlugin/TestInstall.gnu 0644
pub/System/GnuPlotPlugin/TestInstall.png 0644
pub/System/GnuPlotPlugin/TestInstallSample.png 0644
pub/System/GnuPlotPlugin/TestInstall.svg 0644
pub/System/GnuPlotPlugin/whale.dat 0644

Empty file.

0 comments on commit cb23ccb

Please sign in to comment.