Skip to content

Commit da1b839

Browse files
committed
Resize Crystallization Moving
1 parent 48ee015 commit da1b839

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

Sample Models/Chemistry & Physics/Materials Science/Crystallization/Crystallization Moving.nlogox

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?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">
33
<code><![CDATA[turtles-own
44
[
55
temp ;; specific turtle's temperature
@@ -119,34 +119,34 @@ end
119119
; Copyright 2002 Uri Wilensky.
120120
; See Info tab for full copyright and license.]]></code>
121121
<widgets>
122-
<view x="339" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-17" height="424" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="false" width="424" tickCounterLabel="ticks" maxPycor="17" updateMode="1" maxPxcor="17" minPxcor="-17"></view>
123-
<button x="241" y="85" height="33" disableUntilTicks="true" forever="true" kind="Observer" display="go" width="63" sizeVersion="0">go</button>
124-
<button x="208" y="42" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="59" sizeVersion="0">setup</button>
125-
<slider x="9" step="1" y="42" max="100" display="room-temp" height="33" min="-20" direction="Horizontal" default="20.0" variable="room-temp" width="152" sizeVersion="0"></slider>
126-
<slider x="9" step="10" y="85" max="2500" display="init-metal-temp" height="33" min="1550" direction="Horizontal" default="1550.0" variable="init-metal-temp" width="152" sizeVersion="0"></slider>
127-
<slider x="9" step="1" y="128" max="1500" display="melting-temp" height="33" min="500" direction="Horizontal" default="551.0" variable="melting-temp" width="152" sizeVersion="0"></slider>
128-
<monitor x="33" precision="3" y="235" height="45" fontSize="11" display="ave-metal-temp" width="102" sizeVersion="0">ave-metal-temp</monitor>
129-
<slider x="151" step="1" y="187" max="100" display="fill-percentage" height="33" min="1" direction="Horizontal" default="85.0" variable="fill-percentage" units="%" width="152" sizeVersion="0"></slider>
130-
<slider x="170" step="2" y="128" max="33" display="box-width" height="33" min="3" direction="Horizontal" default="33.0" variable="box-width" units="atoms" width="134" sizeVersion="0"></slider>
131-
<button x="170" y="85" height="33" disableUntilTicks="true" forever="false" kind="Observer" display="go once" width="62" sizeVersion="0">go</button>
132-
<switch x="17" y="187" height="33" on="true" variable="histogram?" display="histogram?" width="124" sizeVersion="0"></switch>
133-
<plot x="8" autoPlotX="true" yMax="1550.0" autoPlotY="true" yAxis="ave-metal-temp" y="469" xMin="0.0" height="201" legend="true" xMax="100.0" yMin="20.0" xAxis="time" display="Average Metal Temperature" width="275" sizeVersion="0">
122+
<view x="430" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-17" height="424" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="false" width="424" tickCounterLabel="ticks" maxPycor="17" updateMode="1" maxPxcor="17" minPxcor="-17"></view>
123+
<slider x="10" step="1" y="45" max="100" width="250" display="room-temp" height="50" min="-20" direction="Horizontal" default="20.0" variable="room-temp"></slider>
124+
<slider x="10" step="10" y="100" max="2500" width="250" display="init-metal-temp" height="50" min="1550" direction="Horizontal" default="1550.0" variable="init-metal-temp"></slider>
125+
<slider x="10" step="1" y="155" max="1500" width="250" display="melting-temp" height="50" min="500" direction="Horizontal" default="551.0" variable="melting-temp"></slider>
126+
<slider x="270" step="2" y="155" max="33" width="150" display="box-width" height="50" min="3" direction="Horizontal" default="33.0" variable="box-width" units="atoms"></slider>
127+
<slider x="270" step="1" y="210" max="100" width="150" display="fill-percentage" height="50" min="1" direction="Horizontal" default="85.0" variable="fill-percentage" units="%"></slider>
128+
<button x="270" y="110" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="70" display="go once">go</button>
129+
<button x="350" y="110" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="70" display="go">go</button>
130+
<switch x="65" y="225" height="37" on="true" variable="histogram?" width="124" display="histogram?"></switch>
131+
<monitor x="75" precision="3" y="270" height="60" fontSize="11" width="102" display="ave-metal-temp">ave-metal-temp</monitor>
132+
<button x="310" y="65" height="35" disableUntilTicks="false" forever="false" kind="Observer" width="70">setup</button>
133+
<plot x="10" autoPlotX="true" yMax="1550.0" autoPlotY="true" yAxis="ave-metal-temp" y="480" xMin="0.0" height="201" legend="true" xMax="100.0" yMin="20.0" width="275" xAxis="time" display="Average Metal Temperature">
134134
<setup>set-plot-y-range room-temp init-metal-temp</setup>
135135
<update>if not histogram? [ stop ]</update>
136136
<pen interval="1.0" mode="0" display="ave-metal-temp" color="-2674135" legend="false">
137137
<setup></setup>
138138
<update>plot ave-metal-temp</update>
139139
</pen>
140140
</plot>
141-
<plot x="288" autoPlotX="true" yMax="625.0" autoPlotY="true" yAxis="crystal quant." y="469" xMin="0.0" height="201" legend="false" xMax="100.0" yMin="0.0" xAxis="time" display="Number Solidified" width="213" sizeVersion="0">
141+
<plot x="295" autoPlotX="true" yMax="625.0" autoPlotY="true" yAxis="crystal quant." y="480" xMin="0.0" height="201" legend="false" xMax="100.0" yMin="0.0" width="275" xAxis="time" display="Number Solidified">
142142
<setup>set-plot-y-range 0 count turtles</setup>
143143
<update></update>
144144
<pen interval="1.0" mode="0" display="amount" color="-16777216" legend="false">
145145
<setup></setup>
146146
<update>plot num-frozen</update>
147147
</pen>
148148
</plot>
149-
<plot x="507" autoPlotX="false" yMax="625.0" autoPlotY="false" yAxis="quantity" y="469" xMin="0.0" height="201" legend="true" xMax="8.0" yMin="0.0" xAxis="colors" display="Temperatures" width="248" sizeVersion="0">
149+
<plot x="580" autoPlotX="false" yMax="625.0" autoPlotY="false" yAxis="quantity" y="480" xMin="0.0" height="201" legend="true" xMax="8.0" yMin="0.0" width="275" xAxis="colors" display="Temperatures">
150150
<setup><![CDATA[set-plot-y-range 0 count turtles
151151
set-histogram-num-bars 1 + (length colors)
152152

0 commit comments

Comments
 (0)