- Timestamp:
- May 30, 2012, 2:45:01 PM (12 years ago)
- Location:
- trunk/examples/zoo/drawing
- Files:
-
- 15 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/zoo/drawing/tool.xml
r2959 r3022 1 1 <?xml version="1.0"?> 2 2 <run> 3 <tool>3 <tool> 4 4 <title>drawing</title> 5 5 <about>Example of a Rappture <drawing> object. … … 13 13 tclsh @tool/drawing.tcl @driver 14 14 </command> 15 </tool> 16 <input> 15 <layout>wizard</layout> 16 </tool> 17 <input> 17 18 <drawing> 18 <about> 19 <label>Title</label> 20 <description>This text will be used as the title for all plots.</description> 21 <bbox>-.1 0 1.1 1</bbox> 22 </about> 23 <components> 24 <line> 25 <coords>.25 .75 .75 .75</coords> 26 <color>black</color> 27 <linewidth>2</linewidth> 28 <arrow>both</arrow> 29 </line> 30 <text> 31 <coords>.5 .8</coords> 32 <color>black</color> 33 <text>Feature Length = 50 nm</text> 34 <font>Arial 9</font> 35 <anchor>c</anchor> 36 </text> 37 <line> 38 <coords>.78 .4 .78 .7</coords> 39 <color>black</color> 40 <linewidth>2</linewidth> 41 <arrow>both</arrow> 42 </line> 43 <text> 44 <coords>.82 .48</coords> 45 <color>black</color> 46 <text>Feature 47 Height = 30 nm</text> 48 <font>Arial 9</font> 49 <anchor>nw</anchor> 50 </text> 51 <line> 52 <coords>0 .9 1 .9</coords> 53 <color>black</color> 54 <linewidth>2</linewidth> 55 <arrow>both</arrow> 56 </line> 57 <text> 58 <coords>.5 .91</coords> 59 <color>black</color> 60 <text>Substrate Length = 100 nm</text> 61 <font>Arial 9</font> 62 <anchor>n</anchor> 63 </text> 64 <line> 65 <coords>.35 .35 .65 .35</coords> 66 <color>black</color> 67 <linewidth>2</linewidth> 68 <arrow>both</arrow> 69 </line> 70 <text> 71 <coords>.5 .30</coords> 72 <color>black</color> 73 <text>Length of Trapezoid Top = 30 nm</text> 74 <font>Arial 9</font> 75 <anchor>s</anchor> 76 </text> 77 <line id="polyline"> 78 <coords>0 .7 .25 .7 .35 .4 .65 .4 .75 .7 1 .7</coords> 79 <color>red</color> 80 <linewidth>2</linewidth> 81 </line> 82 <grid> 83 <xcoords>0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1</xcoords> 84 <ycoords>.2 .3 .4 .5 .6 .7</ycoords> 85 <color>grey70</color> 86 <linewidth>1</linewidth> 87 <dash>4 2</dash> 88 </grid> 89 <string> 90 <about> 91 <label>String:</label> 92 </about> 93 <coords>.1 1.1</coords> 94 <color>blue</color> 95 <font>Arial 9</font> 96 <anchor>nw</anchor> 97 <default>value</default> 98 </string> 99 <number> 100 <about> 101 <label>Number:</label> 102 </about> 103 <coords></coords> 104 <color>blue</color> 105 <font>Arial 12</font> 106 <anchor>n</anchor> 107 <default></default> 108 <min></min> 109 <max></max> 110 </number> 111 </components> 19 <about> 20 <label>Title</label> 21 <description>This text will be used as the title for all plots.</description> 22 </about> 23 <background> 24 <color>#FFFCDA</color> 25 <coordinates>-.1 0 1.1 1</coordinates> 26 <width>800</width> 27 <height>500</height> 28 </background> 29 <substitutions> 30 <variable> 31 <name>string</name> 32 <path>input.string(indeck)</path> 33 </variable> 34 <variable> 35 <name>feature_height</name> 36 <path>input.number(feature_height)</path> 37 </variable> 38 <variable> 39 <name>feature_length</name> 40 <path>input.number(feature_length)</path> 41 </variable> 42 <variable> 43 <name>trapezoid_top</name> 44 <path>input.number(trapezoid_top)</path> 45 </variable> 46 <variable> 47 <name>substrate_length</name> 48 <path>input.number(substrate_length)</path> 49 </variable> 50 <variable> 51 <name>analysis</name> 52 <path>input.choice(analysis)</path> 53 </variable> 54 </substitutions> 55 <components> 56 <line id="feature_length"> 57 <coords>.25 .72 .75 .72</coords> 58 <color>black</color> 59 <linewidth>2</linewidth> 60 <arrow>both</arrow> 61 </line> 62 <text id="feature_length"> 63 <coords>.5 .73</coords> 64 <color>black</color> 65 <text>Feature Length = ${feature_length}</text> 66 <font>Arial 11</font> 67 <anchor>n</anchor> 68 </text> 69 <hotspot id="feature_length"> 70 <coords>.625 .743</coords> 71 <controls>input.number(feature_length)</controls> 72 </hotspot> 73 <line id="feature_height"> 74 <coords>.76 .4 .76 .7</coords> 75 76 <color>black</color> 77 <linewidth>2</linewidth> 78 <arrow>both</arrow> 79 </line> 80 <text id="feature_height"> 81 <coords>.77 .48</coords> 82 <color>black</color> 83 <text>Feature 84 Height = ${feature_height}</text> 85 <font>Arial 11</font> 86 <anchor>nw</anchor> 87 </text> 88 <hotspot id="feature_height"> 89 <coords>.92 .526</coords> 90 <controls>input.choice(analysis)</controls> 91 <controls>input.number(feature_height)</controls> 92 <controls>input.number(feature_length)</controls> 93 <controls>input.number(substrate_length)</controls> 94 </hotspot> 95 <line id="substrate_length"> 96 <coords>0 .8 1 .8</coords> 97 <color>black</color> 98 <linewidth>2</linewidth> 99 <arrow>both</arrow> 100 </line> 101 <text id="substrate_length"> 102 <coords>.5 .81</coords> 103 <color>black</color> 104 <text>Substrate Length = ${substrate_length}</text> 105 <font>Arial 11</font> 106 <anchor>n</anchor> 107 </text> 108 <hotspot id="substrate_length"> 109 <coords>.64 .825</coords> 110 <controls>input.number(substrate_length)</controls> 111 </hotspot> 112 <line id="trapezoid_top"> 113 <coords>.35 .38 .65 .38</coords> 114 <color>black</color> 115 <linewidth>2</linewidth> 116 <arrow>both</arrow> 117 </line> 118 <text id="trapezoid_top"> 119 <coords>.5 .35</coords> 120 <color>black</color> 121 <text>Length of Trapezoid Top = ${trapezoid_top}</text> 122 <font>Arial 11</font> 123 <anchor>s</anchor> 124 </text> 125 <hotspot id="trapezoid_top"> 126 <coords>.67 .335</coords> 127 <controls>input.number(trapezoid_top)</controls> 128 </hotspot> 129 <line id="polyline"> 130 <coords>0 .7 .25 .7 .35 .4 .65 .4 .75 .7 1 .7</coords> 131 <color>red</color> 132 <linewidth>2</linewidth> 133 </line> 134 <grid> 135 <xcoords>0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1</xcoords> 136 <ycoords>.2 .3 .4 .5 .6 .7</ycoords> 137 <color>grey70</color> 138 <linewidth>1</linewidth> 139 <dash>4 2</dash> 140 </grid> 141 <hotspot id="analysis"> 142 <coords>.19 .08</coords> 143 <controls>input.choice(analysis)</controls> 144 </hotspot> 145 <picture id="analysis"> 146 <coords>-.08 .06 0.17 0.15</coords> 147 <contents>file:images/${analysis}_F-d.png</contents> 148 <anchor>nw</anchor> 149 </picture> 150 <text id="analysis"> 151 <coords>.05 .4</coords> 152 <color>black</color> 153 <text>${analysis}</text> 154 <font>Arial 11</font> 155 <anchor>n</anchor> 156 </text> 157 <hotspot id="string"> 158 <coords>-.05 .865</coords> 159 <controls>input.string(indeck)</controls> 160 </hotspot> 161 <text id="string"> 162 <coords>-.03 .85</coords> 163 <color>black</color> 164 <text>${string}</text> 165 <font>Arial 11</font> 166 <anchor>nw</anchor> 167 </text> 168 </components> 112 169 </drawing> 113 114 <separator/> 115 170 <number id="feature_height"> 171 <about> 172 <label>Feature Height</label> 173 <description>Height of feature.</description> 174 </about> 175 <units>nm</units> 176 <min>10</min> 177 <max>70</max> 178 <default>30</default> 179 </number> 180 <number id="feature_length"> 181 <about> 182 <label>Feature Length</label> 183 <description>Length of feature.</description> 184 </about> 185 <units>nm</units> 186 <min>10</min> 187 <max>100</max> 188 <default>50</default> 189 </number> 190 <number id="substrate_length"> 191 <about> 192 <label>Substrate Length</label> 193 <description>Length of substrate.</description> 194 </about> 195 <units>nm</units> 196 <min>10</min> 197 <max>500</max> 198 <default>100</default> 199 </number> 200 <number id="trapezoid_top"> 201 <about> 202 <label>Trapezoid Top</label> 203 <description>Width of the Trapezoid Top.</description> 204 </about> 205 <units>nm</units> 206 <min>10</min> 207 <max>70</max> 208 <default>30</default> 209 </number> 210 <choice id="analysis"> 211 <about> 212 <label>Type of Analysis</label> 213 <description>Determines the type of analysis to perform.</description> 214 </about> 215 <option> 216 <about> 217 <label>Hertz</label> 218 <description>Hertz analysis</description> 219 </about> 220 </option> 221 <option> 222 <about> 223 <label>LinCon</label> 224 <description>LinCon analysis</description> 225 </about> 226 </option> 227 <option> 228 <about> 229 <label>Chadwick</label> 230 <description>Chadwick analysis</description> 231 </about> 232 </option> 233 <option> 234 <about> 235 <label>DMT</label> 236 <description>DMT analysis</description> 237 </about> 238 </option> 239 <default>Chadwick</default> 240 </choice> 116 241 <string id="indeck"> 117 118 119 120 121 122 123 242 <about> 243 <label>Input</label> 244 <description>This is the control file for the program.</description> 245 <hints>EXAMPLE: .print ac vm(11) mag(i(vcc))</hints> 246 </about> 247 <size>40x10</size> 248 <default>Enter your SPICE commands 124 249 in this area. Right-click 125 250 for a menu of editing options.</default> 126 251 </string> 127 </input>252 </input> 128 253 </run>
Note: See TracChangeset
for help on using the changeset viewer.