diff options
| author | Marcin Floryan <mfloryan@mm.waw.pl> | 2008-04-18 15:49:46 +0000 |
|---|---|---|
| committer | mfloryan <mfloryan@users.sourceforge.net> | 2008-04-18 15:49:46 +0000 |
| commit | ebb2550715a6ad96e923e0ea95b8b2320c0b743d (patch) | |
| tree | efe9a8932e63f838c2e8867ef2728de562b21aeb /share/extensions/funcplot.inx | |
| parent | As there is no implementation for this extension it will not validate with th... (diff) | |
| download | inkscape-ebb2550715a6ad96e923e0ea95b8b2320c0b743d.tar.gz inkscape-ebb2550715a6ad96e923e0ea95b8b2320c0b743d.zip | |
All extensions are now propper XML files with a namespace and all validate against the new inkscape.extension.rng RelaxNG schema.
(bzr r5472)
Diffstat (limited to 'share/extensions/funcplot.inx')
| -rw-r--r-- | share/extensions/funcplot.inx | 77 |
1 files changed, 39 insertions, 38 deletions
diff --git a/share/extensions/funcplot.inx b/share/extensions/funcplot.inx index a902fa28a..928583624 100644 --- a/share/extensions/funcplot.inx +++ b/share/extensions/funcplot.inx @@ -1,21 +1,22 @@ -<inkscape-extension> - <_name>Function Plotter</_name> - <id>org.inkscape.effect.funcplot</id> - <dependency type="executable" location="extensions">funcplot.py</dependency> - <dependency type="executable" location="extensions">inkex.py</dependency> - <param name="tab" type="notebook"> - <page name="sampling" _gui-text="Range and Sampling"> - <param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param> - <param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param> - <param name="times2pi" type="boolean" _gui-text="Multiply x-range by 2*pi">false</param> - <param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param> - <param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param> - <param name="samples" type="int" min="2" max="1000" _gui-text="Samples">8</param> - <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param> - <param name="polar" type="boolean" _gui-text="Use polar coordinates">true</param> - </page> - <page name="use" _gui-text="Use"> - <_param name="funcplotuse" type="description">Select a rectangle before calling effect. +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <_name>Function Plotter</_name> + <id>org.inkscape.effect.funcplot</id> + <dependency type="executable" location="extensions">funcplot.py</dependency> + <dependency type="executable" location="extensions">inkex.py</dependency> + <param name="tab" type="notebook"> + <page name="sampling" _gui-text="Range and Sampling"> + <param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param> + <param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param> + <param name="times2pi" type="boolean" _gui-text="Multiply x-range by 2*pi">false</param> + <param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param> + <param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param> + <param name="samples" type="int" min="2" max="1000" _gui-text="Samples">8</param> + <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param> + <param name="polar" type="boolean" _gui-text="Use polar coordinates">true</param> + </page> + <page name="use" _gui-text="Use"> + <_param name="funcplotuse" type="description">Select a rectangle before calling effect. Rectangle determines x and y scales. With polar coordinates: @@ -23,9 +24,9 @@ With polar coordinates: x scale is set so left and right edges of rectangle are at +/-1. Isotropic scaling is disabled. First derivative is always determined numerically.</_param> - </page> - <page name="desc" _gui-text="Functions"> - <_param name="pythonfunctions" type="description">Standard python math functions are available: + </page> + <page name="desc" _gui-text="Functions"> + <_param name="pythonfunctions" type="description">Standard python math functions are available: ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i); modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x); @@ -33,21 +34,21 @@ acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y); cos(x); sin(x); tan(x); degrees(x); radians(x); cosh(x); sinh(x); tanh(x). -The constants pi and e are also available. </_param> - </page> - </param> - <param name="fofx" type="string" _gui-text="Function">exp(-x*x)</param> - <param name="fponum" type="boolean" _gui-text="Calculate first derivative numerically">true</param> - <param name="fpofx" type="string" _gui-text="First derivative">x</param> - <param name="remove" type="boolean" _gui-text="Remove rectangle">true</param> - <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param> - <effect> - <object-type>rect</object-type> - <effects-menu> - <submenu _name="Render"/> - </effects-menu> - </effect> - <script> - <command reldir="extensions" interpreter="python">funcplot.py</command> - </script> +The constants pi and e are also available.</_param> + </page> + </param> + <param name="fofx" type="string" _gui-text="Function">exp(-x*x)</param> + <param name="fponum" type="boolean" _gui-text="Calculate first derivative numerically">true</param> + <param name="fpofx" type="string" _gui-text="First derivative">x</param> + <param name="remove" type="boolean" _gui-text="Remove rectangle">true</param> + <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param> + <effect> + <object-type>rect</object-type> + <effects-menu> + <submenu _name="Render"/> + </effects-menu> + </effect> + <script> + <command reldir="extensions" interpreter="python">funcplot.py</command> + </script> </inkscape-extension> |
