a093a3ff2be63ffbd2e7b9e133e383c5bfbfe357
1 <inkscape-extension>\r
2 <_name>Function Plotter</_name>\r
3 <id>org.inkscape.effect.funcplot</id>\r
4 <dependency type="executable" location="extensions">funcplot.py</dependency>\r
5 <dependency type="executable" location="extensions">inkex.py</dependency>\r
6 <param name="tab" type="notebook">\r
7 <page name="sampling" _gui-text="Range and Sampling">\r
8 <param name="xstart" type="float" min="-1000.0" max="1000.0" _gui-text="Start x-value">0.0</param>\r
9 <param name="xend" type="float" min="-1000.0" max="1000.0" _gui-text="End x-value">1.0</param>\r
10 <param name="times2pi" type="boolean" _gui-text="Multiply x-range by 2*pi">false</param>\r
11 <param name="ybottom" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">0.0</param>\r
12 <param name="ytop" type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param>\r
13 <param name="samples" type="int" min="2" max="1000" _gui-text="Samples">8</param>\r
14 <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param>\r
15 </page>\r
16 <page name="desc" _gui-text="Help">\r
17 <_param name="pythonfunctions" type="description">The following functions are available:\r
18 (the available functions are the standard python math functions)\r
19 ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i); \r
20 modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x); \r
21 acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y); \r
22 cos(x); sin(x); tan(x); degrees(x); radians(x); \r
23 cosh(x); sinh(x); tanh(x).\r
24 \r
25 The constants pi and e are also available. </_param>\r
26 </page>\r
27 </param>\r
28 <param name="fofx" type="string" _gui-text="Function">exp(-x*x)</param>\r
29 <param name="fponum" type="boolean" _gui-text="Calculate first derivative numerically">true</param>\r
30 <param name="fpofx" type="string" _gui-text="First derivative">x</param>\r
31 <param name="remove" type="boolean" _gui-text="Remove rectangle">true</param>\r
32 <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>\r
33 <effect>\r
34 <object-type>rect</object-type>\r
35 <effects-menu>\r
36 <submenu _name="Render"/>\r
37 </effects-menu>\r
38 </effect>\r
39 <script>\r
40 <command reldir="extensions" interpreter="python">funcplot.py</command>\r
41 </script>\r
42 </inkscape-extension>\r