1 | <?xml version="1.0"?> |
---|
2 | <run> |
---|
3 | <tool> |
---|
4 | <title>curve</title> |
---|
5 | <about>Example of a Rappture <curve> object. |
---|
6 | |
---|
7 | Curves are a list of (x,y) data points, representing discrete samples of a function y(x). |
---|
8 | |
---|
9 | When you click the Simulate button, the inputs will be used to generate output curves. |
---|
10 | </about> |
---|
11 | <command> |
---|
12 | tclsh @tool/curve.tcl @driver |
---|
13 | </command> |
---|
14 | <name>Workspace (800x600)</name> |
---|
15 | <version> |
---|
16 | <rappture> |
---|
17 | <revision>$LastChangedRevision: 1018 $</revision> |
---|
18 | <modified>$LastChangedDate: 2008-06-08 21:24:34 -0400 (Sun, 08 Jun 2008) $</modified> |
---|
19 | <language>tcl</language> |
---|
20 | </rappture> |
---|
21 | </version> |
---|
22 | </tool> |
---|
23 | <input> |
---|
24 | <integer id="points"> |
---|
25 | <about> |
---|
26 | <label>Number of points</label> |
---|
27 | <description>Determines the number of data points in all output curves.</description> |
---|
28 | </about> |
---|
29 | <min>2</min> |
---|
30 | <max>1000</max> |
---|
31 | <default>10</default> |
---|
32 | <current>20</current> |
---|
33 | </integer> |
---|
34 | </input> |
---|
35 | <output> |
---|
36 | <curve id="single"> |
---|
37 | <about> |
---|
38 | <label>Single curve</label> |
---|
39 | <description>This is an example of a single curve.</description> |
---|
40 | </about> |
---|
41 | <xaxis> |
---|
42 | <label>Time</label> |
---|
43 | <description>Time during the experiment.</description> |
---|
44 | <units>s</units> |
---|
45 | </xaxis> |
---|
46 | <yaxis> |
---|
47 | <label>Voltage v(11)</label> |
---|
48 | <description>Output from the amplifier.</description> |
---|
49 | <units>V</units> |
---|
50 | </yaxis> |
---|
51 | <component> |
---|
52 | <xy>0.01 0.990049505363 |
---|
53 | 0.5095 0.578329570829 |
---|
54 | 1.009 0.265160421676 |
---|
55 | 1.5085 0.0248180350859 |
---|
56 | 2.008 -0.140760579036 |
---|
57 | 2.5075 -0.229681990731 |
---|
58 | 3.007 -0.247306232561 |
---|
59 | 3.5065 -0.207290986306 |
---|
60 | 4.006 -0.129662618375 |
---|
61 | 4.5055 -0.0373110930181 |
---|
62 | 5.005 0.0480355105893 |
---|
63 | 5.5045 0.109437700019 |
---|
64 | 6.004 0.137247325002 |
---|
65 | 6.5035 0.130049806852 |
---|
66 | 7.003 0.0939557547102 |
---|
67 | 7.5025 0.04049270651 |
---|
68 | 8.002 -0.016382854697 |
---|
69 | 8.5015 -0.0634856554903 |
---|
70 | 9.001 -0.0911450779658 |
---|
71 | 9.5005 -0.0949606643485 |
---|
72 | 10.0 -0.076279229916 |
---|
73 | </xy> |
---|
74 | </component> |
---|
75 | </curve> |
---|
76 | <curve id="multi1"> |
---|
77 | <about> |
---|
78 | <group>Multiple curves</group> |
---|
79 | <label>Factor a=1</label> |
---|
80 | <description>This is an example of multiple curves on the same plot.</description> |
---|
81 | </about> |
---|
82 | <xaxis> |
---|
83 | <label>Frequency</label> |
---|
84 | <description>Frequency of the input source.</description> |
---|
85 | <units>Hz</units> |
---|
86 | <scale>log</scale> |
---|
87 | </xaxis> |
---|
88 | <yaxis> |
---|
89 | <label>Current</label> |
---|
90 | <description>Current through the pull-down resistor.</description> |
---|
91 | <units>uA</units> |
---|
92 | <scale>log</scale> |
---|
93 | </yaxis> |
---|
94 | <component> |
---|
95 | <xy>0.01 100.695555006 |
---|
96 | 0.5095 2.79402697335 |
---|
97 | 1.009 1.9945645659 |
---|
98 | 1.5085 1.88607272188 |
---|
99 | 2.008 2.00310872589 |
---|
100 | 2.5075 2.26773222972 |
---|
101 | 3.007 2.67339892364 |
---|
102 | 3.5065 3.24106571349 |
---|
103 | 4.006 4.01065419167 |
---|
104 | 4.5055 5.04135930614 |
---|
105 | 5.005 6.41580338707 |
---|
106 | 5.5045 8.24710900967 |
---|
107 | 6.004 10.689155879 |
---|
108 | 6.5035 13.9508745108 |
---|
109 | 7.003 18.3159282379 |
---|
110 | 7.5025 24.1697154991 |
---|
111 | 8.002 32.036383087 |
---|
112 | 8.5015 42.6295697051 |
---|
113 | 9.001 56.9220102634 |
---|
114 | 9.5005 76.2410750498 |
---|
115 | 10.0 102.4 |
---|
116 | </xy> |
---|
117 | </component> |
---|
118 | </curve> |
---|
119 | <curve id="multi2"> |
---|
120 | <about> |
---|
121 | <group>Multiple curves</group> |
---|
122 | <label>Factor a=2</label> |
---|
123 | <description>This is an example of multiple curves on the same plot.</description> |
---|
124 | </about> |
---|
125 | <xaxis> |
---|
126 | <label>Frequency</label> |
---|
127 | <description>Frequency of the input source.</description> |
---|
128 | <units>Hz</units> |
---|
129 | <scale>log</scale> |
---|
130 | </xaxis> |
---|
131 | <yaxis> |
---|
132 | <label>Current</label> |
---|
133 | <description>Current through the pull-down resistor.</description> |
---|
134 | <units>uA</units> |
---|
135 | <scale>log</scale> |
---|
136 | </yaxis> |
---|
137 | <component> |
---|
138 | <xy>0.01 101.395947979 |
---|
139 | 0.5095 3.97745593782 |
---|
140 | 1.009 4.01409239782 |
---|
141 | 1.5085 5.36614226597 |
---|
142 | 2.008 8.05698869204 |
---|
143 | 2.5075 12.8950932353 |
---|
144 | 3.007 21.4912148474 |
---|
145 | 3.5065 36.8340536524 |
---|
146 | 4.006 64.4379002629 |
---|
147 | 4.5055 114.508650612 |
---|
148 | 5.005 206.018478173 |
---|
149 | 5.5045 374.387505227 |
---|
150 | 6.004 686.00535265 |
---|
151 | 6.5035 1265.75604166 |
---|
152 | 7.003 2349.3190102 |
---|
153 | 7.5025 4382.77404267 |
---|
154 | 8.002 8212.69139005 |
---|
155 | 8.5015 15449.6077329 |
---|
156 | 9.001 29164.2773871 |
---|
157 | 9.5005 55223.5708358 |
---|
158 | 10.0 104857.6 |
---|
159 | </xy> |
---|
160 | </component> |
---|
161 | </curve> |
---|
162 | <time>Tue Nov 11 23:27:19 EST 2008</time> |
---|
163 | <status>ok</status> |
---|
164 | <user>dkearney</user> |
---|
165 | </output> |
---|
166 | </run> |
---|
167 | |
---|