BootCamp2012: tool.xml

File tool.xml, 1.8 KB (added by mmc, 2 years ago)

Solution for Assignment #4

Line 
1<?xml version="1.0"?>
2<run>
3    <tool>
4        <title>Rappture Tutorial - Assignment #4</title>
5        <about>Computes a complex exponential with three different frequencies.  When plotted, the real and imaginary parts of this function reproduce the figures generated by Spirograph.</about>
6        <command>octave --silent --eval infile='@driver',path('@tool',path),spiro</command>
7    </tool>
8    <input>
9        <number id="n1">
10            <about>
11                <label>n1</label>
12                <description>First angular coefficient of the spirograph equestion.</description>
13            </about>
14            <default>13</default>
15        </number>
16        <number id="n2">
17            <about>
18                <label>n2</label>
19                <description>Second angular coefficient of the spirograph equestion.</description>
20            </about>
21            <default>-7</default>
22        </number>
23        <number id="n3">
24            <about>
25                <label>n3</label>
26                <description>Third angular coefficient of the spirograph equestion.</description>
27            </about>
28            <default>-3</default>
29        </number>
30    </input>
31    <output>
32        <curve id="z">
33            <about>
34                <label>Spirograph</label>
35                <description>Sum of complex exponential functions.</description>
36            </about>
37            <xaxis>
38                <label>real(z)</label>
39                <description>Real part of the complex function that plots the spirograph function.</description>
40            </xaxis>
41            <yaxis>
42                <label>imag(z)</label>
43                <description>Imaginary part of the complex function that plots the spirograph function.</description>
44            </yaxis>
45        </curve>
46    </output>
47</run>