Code

Several different i18n issues fixed following report from a_b (adresses bug #215387...
[inkscape.git] / share / extensions / funcplot.inx
1 <inkscape-extension>
2     <_name>Function Plotter</_name>
3     <id>org.inkscape.effect.funcplot</id>
4         <dependency type="executable" location="extensions">funcplot.py</dependency>
5         <dependency type="executable" location="extensions">inkex.py</dependency>
6         <param name="tab" type="notebook">
7             <page name="sampling" _gui-text="Range and Sampling">
8                 <param name="xstart"   type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param>
9                 <param name="xend"     type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param>
10                 <param name="times2pi" type="boolean"                          _gui-text="Multiply x-range by 2*pi">false</param>
11                 <param name="ybottom"  type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param>
12                 <param name="ytop"     type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param>
13                 <param name="samples"  type="int"   min="2"       max="1000"   _gui-text="Samples">8</param>
14                 <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param>
15                 <param name="polar"    type="boolean" _gui-text="Use polar coordinates">true</param>
16             </page>
17             <page name="use" _gui-text="Use">
18                 <_param name="funcplotuse" type="description">Select a rectangle before calling effect.
19 Rectangle determines x and y scales.
21 With polar coordinates:
22    Start and End x-values define the angle range in radians.
23    x scale is set so left and right edges of rectangle are at +/-1.
24    Isotropic scaling is disabled.
25    First derivative is always determined numerically.</_param>
26             </page>
27             <page name="desc" _gui-text="Functions">
28                 <_param name="pythonfunctions" type="description">Standard python math functions are available:
30 ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i); 
31 modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x); 
32 acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y); 
33 cos(x); sin(x); tan(x); degrees(x); radians(x); 
34 cosh(x); sinh(x); tanh(x).
36 The constants pi and e are also available. </_param>
37             </page>
38         </param>
39         <param name="fofx"     type="string"  _gui-text="Function">exp(-x*x)</param>
40         <param name="fponum"   type="boolean" _gui-text="Calculate first derivative numerically">true</param>
41         <param name="fpofx"    type="string"  _gui-text="First derivative">x</param>
42         <param name="remove"   type="boolean" _gui-text="Remove rectangle">true</param>
43         <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>
44     <effect>
45                 <object-type>rect</object-type>
46                 <effects-menu>
47                         <submenu _name="Render"/>
48                 </effects-menu>
49     </effect>
50     <script>
51         <command reldir="extensions" interpreter="python">funcplot.py</command>
52     </script>
53 </inkscape-extension>