|
97 | 97 | ; See Info tab for full copyright and license.]]></code> |
98 | 98 | <widgets> |
99 | 99 | <view x="455" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-17" height="465" showTickCounter="true" patchSize="13.17143" fontSize="10" wrappingAllowedY="true" width="465" tickCounterLabel="ticks" maxPycor="17" updateMode="1" maxPxcor="17" minPxcor="-17"></view> |
100 | | - <monitor x="35" precision="2" y="170" height="60" fontSize="11" width="117" display="% most populous">max-percent</monitor> |
101 | | - <plot x="10" autoPlotX="true" yMax="70.0" autoPlotY="true" yAxis="Number" y="140" xMin="0.0" height="223" legend="false" xMax="100.0" yMin="0.0" width="360" xAxis="Time" display="Turtle Populations"> |
| 100 | + <monitor x="255" precision="2" y="70" height="60" fontSize="11" width="117" display="% most populous">max-percent</monitor> |
| 101 | + <plot x="10" autoPlotX="true" yMax="70.0" autoPlotY="true" yAxis="Number" y="135" xMin="0.0" height="223" legend="false" xMax="100.0" yMin="0.0" width="360" xAxis="Time" display="Turtle Populations"> |
102 | 102 | <setup>set-plot-y-range 0 count turtles</setup> |
103 | 103 | <update></update> |
104 | 104 | <pen interval="1.0" mode="0" display="color5" color="-7500403" legend="true"> |
@@ -142,15 +142,15 @@ end |
142 | 142 | <update>plot count turtles with [color = 95]</update> |
143 | 143 | </pen> |
144 | 144 | </plot> |
145 | | - <note x="10" y="375" backgroundDark="0" fontSize="12" width="285" markdown="false" height="41" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">As the model runs, you may optionally create and |
| 145 | + <note x="46" y="370" backgroundDark="0" fontSize="12" width="285" markdown="false" height="41" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">As the model runs, you may optionally create and |
146 | 146 | remove walls that separate groups of turtles.</note> |
147 | | - <button x="9" y="425" height="50" disableUntilTicks="false" forever="true" kind="Observer" width="90">place-wall</button> |
148 | | - <button x="104" y="425" height="50" disableUntilTicks="false" forever="true" kind="Observer" width="96">remove-wall</button> |
149 | | - <button x="205" y="425" height="50" disableUntilTicks="false" forever="false" kind="Observer" width="104">remove-all-walls</button> |
150 | | - <slider x="7" step="1" y="9" max="1000" width="215" display="number" height="50" min="1" direction="Horizontal" default="300.0" variable="number"></slider> |
151 | | - <slider x="230" step="1" y="10" max="10" width="215" display="colors" height="50" min="2" direction="Horizontal" default="5.0" variable="colors"></slider> |
152 | | - <button x="10" y="75" height="50" disableUntilTicks="false" forever="false" kind="Observer" width="77" display="setup">setup</button> |
153 | | - <button x="90" y="75" height="50" disableUntilTicks="true" forever="true" kind="Observer" width="85" display="go">go</button> |
| 147 | + <button x="241" y="420" height="50" disableUntilTicks="false" forever="false" kind="Observer" width="104">remove-all-walls</button> |
| 148 | + <button x="140" y="420" height="50" disableUntilTicks="false" forever="true" kind="Observer" width="96">remove-wall</button> |
| 149 | + <button x="45" y="420" height="50" disableUntilTicks="false" forever="true" kind="Observer" width="90">place-wall</button> |
| 150 | + <slider x="210" step="1" y="10" max="10" width="160" display="colors" height="50" min="2" direction="Horizontal" default="5.0" variable="colors"></slider> |
| 151 | + <slider x="7" step="1" y="9" max="1000" width="200" display="number" height="50" min="1" direction="Horizontal" default="300.0" variable="number"></slider> |
| 152 | + <button x="50" y="75" height="50" disableUntilTicks="false" forever="false" kind="Observer" width="77" display="setup">setup</button> |
| 153 | + <button x="130" y="75" height="50" disableUntilTicks="true" forever="true" kind="Observer" width="85" display="go">go</button> |
154 | 154 | </widgets> |
155 | 155 | <info><![CDATA[## WHAT IS IT? |
156 | 156 |
|
|
0 commit comments