|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<model version="NetLogo 7.0.0-beta0" snapToGrid="false"> |
| 2 | +<model version="NetLogo 7.0.0-beta1" snapToGrid="true"> |
3 | 3 | <code><![CDATA[turtles-own [ |
4 | 4 | temp ;; this turtle's temperature |
5 | 5 | neighboring-turtles ;; agentset of surrounding turtles |
|
95 | 95 | ; Copyright 2002 Uri Wilensky. |
96 | 96 | ; See Info tab for full copyright and license.]]></code> |
97 | 97 | <widgets> |
98 | | - <view x="342" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-16" height="400" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="false" width="400" tickCounterLabel="ticks" maxPycor="16" updateMode="1" maxPxcor="16" minPxcor="-16"></view> |
99 | | - <button x="261" y="87" height="35" disableUntilTicks="true" forever="true" kind="Observer" display="go" width="68" sizeVersion="0">go</button> |
100 | | - <button x="220" y="41" height="37" disableUntilTicks="false" forever="false" kind="Observer" width="66" sizeVersion="0">setup</button> |
101 | | - <slider x="7" step="1" y="42" max="100" display="room-temp" height="33" min="-20" direction="Horizontal" default="20.0" variable="room-temp" width="151" sizeVersion="0"></slider> |
102 | | - <slider x="7" step="10" y="77" max="2500" display="init-metal-temp" height="33" min="1550" direction="Horizontal" default="1550.0" variable="init-metal-temp" width="152" sizeVersion="0"></slider> |
103 | | - <slider x="7" step="1" y="113" max="1500" display="melting-temp" height="33" min="500" direction="Horizontal" default="550.0" variable="melting-temp" width="152" sizeVersion="0"></slider> |
104 | | - <monitor x="14" precision="3" y="212" height="45" fontSize="11" display="ave-metal-temp" width="109" sizeVersion="0">ave-metal-temp</monitor> |
105 | | - <slider x="181" step="2" y="132" max="31" display="width" height="33" min="1" direction="Horizontal" default="31.0" variable="width" units="atoms" width="136" sizeVersion="0"></slider> |
106 | | - <slider x="181" step="2" y="167" max="31" display="height" height="33" min="1" direction="Horizontal" default="31.0" variable="height" units="atoms" width="136" sizeVersion="0"></slider> |
107 | | - <plot x="4" autoPlotX="true" yMax="1550.0" autoPlotY="true" yAxis="ave-metal-temp" y="443" xMin="0.0" height="201" legend="true" xMax="100.0" yMin="20.0" xAxis="time" display="Average Metal Temperature" width="275" sizeVersion="0"> |
| 98 | + <view x="445" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-16" height="400" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="false" width="400" tickCounterLabel="ticks" maxPycor="16" updateMode="1" maxPxcor="16" minPxcor="-16"></view> |
| 99 | + <slider x="10" step="10" y="95" max="2500" width="250" display="init-metal-temp" height="50" min="1550" direction="Horizontal" default="1550.0" variable="init-metal-temp"></slider> |
| 100 | + <slider x="10" step="1" y="40" max="100" width="250" display="room-temp" height="50" min="-20" direction="Horizontal" default="20.0" variable="room-temp"></slider> |
| 101 | + <slider x="10" step="1" y="150" max="1500" width="250" display="melting-temp" height="50" min="500" direction="Horizontal" default="550.0" variable="melting-temp"></slider> |
| 102 | + <switch x="80" y="222" height="37" on="true" variable="circle?" width="96" display="circle?"></switch> |
| 103 | + <monitor x="70" precision="3" y="270" height="60" fontSize="11" width="115" display="ave-metal-temp">ave-metal-temp</monitor> |
| 104 | + <slider x="280" step="2" y="185" max="31" width="150" display="height" height="50" min="1" direction="Horizontal" default="31.0" variable="height" units="atoms"></slider> |
| 105 | + <slider x="280" step="2" y="130" max="31" width="150" display="width" height="50" min="1" direction="Horizontal" default="31.0" variable="width" units="atoms"></slider> |
| 106 | + <switch x="295" y="250" height="37" on="true" variable="histogram?" width="123" display="histogram?"></switch> |
| 107 | + <button x="280" y="85" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="67" display="go once">go</button> |
| 108 | + <button x="360" y="85" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="68" display="go">go</button> |
| 109 | + <button x="320" y="40" height="37" disableUntilTicks="false" forever="false" kind="Observer" width="66">setup</button> |
| 110 | + <plot x="10" autoPlotX="true" yMax="1550.0" autoPlotY="true" yAxis="ave-metal-temp" y="440" xMin="0.0" height="201" legend="true" xMax="100.0" yMin="20.0" width="275" xAxis="time" display="Average Metal Temperature"> |
108 | 111 | <setup>set-plot-y-range room-temp init-metal-temp</setup> |
109 | 112 | <update></update> |
110 | 113 | <pen interval="1.0" mode="0" display="ave-metal-temp" color="-2674135" legend="false"> |
111 | 114 | <setup></setup> |
112 | 115 | <update>plot ave-metal-temp</update> |
113 | 116 | </pen> |
114 | 117 | </plot> |
115 | | - <plot x="282" autoPlotX="true" yMax="625.0" autoPlotY="true" yAxis="crystal quant." y="443" xMin="0.0" height="201" legend="false" xMax="100.0" yMin="0.0" xAxis="time" display="Number Solidified" width="213" sizeVersion="0"> |
| 118 | + <plot x="290" autoPlotX="true" yMax="625.0" autoPlotY="true" yAxis="crystal quant." y="440" xMin="0.0" height="201" legend="false" xMax="100.0" yMin="0.0" width="275" xAxis="time" display="Number Solidified"> |
116 | 119 | <setup>set-plot-y-range 0 count turtles</setup> |
117 | 120 | <update></update> |
118 | 121 | <pen interval="1.0" mode="0" display="amount" color="-16777216" legend="false"> |
119 | 122 | <setup></setup> |
120 | 123 | <update>plot num-frozen</update> |
121 | 124 | </pen> |
122 | 125 | </plot> |
123 | | - <plot x="501" autoPlotX="false" yMax="625.0" autoPlotY="false" yAxis="quantity" y="441" xMin="0.0" height="201" legend="true" xMax="8.0" yMin="0.0" xAxis="colors" display="Temperatures" width="248" sizeVersion="0"> |
| 126 | + <plot x="570" autoPlotX="false" yMax="625.0" autoPlotY="false" yAxis="quantity" y="440" xMin="0.0" height="201" legend="true" xMax="8.0" yMin="0.0" width="275" xAxis="colors" display="Temperatures"> |
124 | 127 | <setup><![CDATA[set-plot-y-range 0 count turtles |
125 | 128 | set-histogram-num-bars 1 + (length colors) |
126 | 129 |
|
@@ -153,9 +156,6 @@ foreach colors [ c -> |
153 | 156 | <update></update> |
154 | 157 | </pen> |
155 | 158 | </plot> |
156 | | - <switch x="188" y="217" height="33" on="true" variable="histogram?" display="histogram?" width="123" sizeVersion="0"></switch> |
157 | | - <button x="182" y="87" height="35" disableUntilTicks="true" forever="false" kind="Observer" display="go once" width="67" sizeVersion="0">go</button> |
158 | | - <switch x="34" y="168" height="33" on="true" variable="circle?" display="circle?" width="96" sizeVersion="0"></switch> |
159 | 159 | </widgets> |
160 | 160 | <info><![CDATA[## WHAT IS IT? |
161 | 161 |
|
|
0 commit comments