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[ breed [waters water] ;; blue molecules
44breed [anions anion] ;; red molecules
55
@@ -121,24 +121,16 @@ end
121121; Copyright 2001 Uri Wilensky.
122122; See Info tab for full copyright and license.]]> </code >
123123 <widgets >
124- <view x =" 258 " wrappingAllowedX =" true" y =" 10" frameRate =" 30.0" minPycor =" -17" height =" 424" showTickCounter =" true" patchSize =" 12.0" fontSize =" 10" wrappingAllowedY =" true" width =" 424" tickCounterLabel =" ticks" maxPycor =" 17" updateMode =" 1" maxPxcor =" 17" minPxcor =" -17" ></view >
125- <button x =" 2 " y =" 25 " height =" 33 " disableUntilTicks =" false" forever =" false" kind =" Observer" display = " setup random " width =" 92 " sizeVersion = " 0 " >setup true
124+ <view x =" 330 " wrappingAllowedX =" true" y =" 10" frameRate =" 30.0" minPycor =" -17" height =" 424" showTickCounter =" true" patchSize =" 12.0" fontSize =" 10" wrappingAllowedY =" true" width =" 424" tickCounterLabel =" ticks" maxPycor =" 17" updateMode =" 1" maxPxcor =" 17" minPxcor =" -17" ></view >
125+ <button x =" 10 " y =" 10 " height =" 35 " disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 96 " display = " setup random " >setup true
126126;; true = reds on
127127;; both sides</button >
128- <button x =" 2" y =" 59" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" setup side" width =" 92" sizeVersion =" 0" >setup false
128+ <button x =" 110" y =" 10" height =" 35" disableUntilTicks =" true" forever =" true" kind =" Observer" width =" 69" display =" go" >go</button >
129+ <button x =" 185" y =" 10" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 84" display =" add red" >add-anions-right</button >
130+ <button x =" 10" y =" 50" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 96" display =" setup side" >setup false
129131;; false = reds all on
130132;; one side</button >
131- <button x =" 98" y =" 25" height =" 33" disableUntilTicks =" true" forever =" true" kind =" Observer" display =" go" width =" 69" sizeVersion =" 0" >go</button >
132- <button x =" 168" y =" 25" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" add red" width =" 84" sizeVersion =" 0" >add-anions-right</button >
133- <button x =" 30" y =" 116" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" shrink right" width =" 96" sizeVersion =" 0" >shrink-or-expand 1</button >
134- <button x =" 127" y =" 116" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" expand right" width =" 103" sizeVersion =" 0" >shrink-or-expand -1</button >
135- <monitor x =" 131" precision =" 3" y =" 212" height =" 45" fontSize =" 11" display =" anions-right" width =" 82" sizeVersion =" 0" ><![CDATA[ count anions with
136- [xcor >= 0]]]> </monitor >
137- <monitor x =" 45" precision =" 3" y =" 212" height =" 45" fontSize =" 11" display =" anions-left" width =" 78" sizeVersion =" 0" ><![CDATA[ count anions with
138- [xcor < 0]]]> </monitor >
139- <button x =" 144" y =" 154" height =" 33" disableUntilTicks =" false" forever =" false" kind =" Observer" display =" change window" width =" 106" sizeVersion =" 0" >draw-walls</button >
140- <slider x =" 20" step =" 1" y =" 154" max =" 12" display =" window-edge" height =" 33" min =" 2" direction =" Horizontal" default =" 2.0" variable =" window-edge" width =" 123" sizeVersion =" 0" ></slider >
141- <plot x =" 6" autoPlotX =" true" yMax =" 100.0" autoPlotY =" true" yAxis =" Number" y =" 262" xMin =" 0.0" height =" 182" legend =" true" xMax =" 50.0" yMin =" -100.0" xAxis =" Time" display =" Equilibration Plot" width =" 250" sizeVersion =" 0" >
133+ <plot x =" 35" autoPlotX =" true" yMax =" 100.0" autoPlotY =" true" yAxis =" Number" y =" 295" xMin =" 0.0" height =" 182" legend =" true" xMax =" 50.0" yMin =" -100.0" width =" 250" xAxis =" Time" display =" Equilibration Plot" >
142134 <setup ></setup >
143135 <update ></update >
144136 <pen interval =" 1.0" mode =" 0" display =" anions" color =" -2674135" legend =" true" >
@@ -163,6 +155,14 @@ auto-plot-on</setup>
163155 <update ></update >
164156 </pen >
165157 </plot >
158+ <monitor x =" 160" precision =" 3" y =" 230" height =" 60" fontSize =" 11" width =" 100" display =" anions-right" ><![CDATA[ count anions with
159+ [xcor >= 0]]]> </monitor >
160+ <monitor x =" 55" precision =" 3" y =" 230" height =" 60" fontSize =" 11" width =" 100" display =" anions-left" ><![CDATA[ count anions with
161+ [xcor < 0]]]> </monitor >
162+ <slider x =" 35" step =" 1" y =" 155" max =" 12" width =" 250" display =" window-edge" height =" 50" min =" 2" direction =" Horizontal" default =" 2.0" variable =" window-edge" ></slider >
163+ <button x =" 215" y =" 115" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 106" display =" change window" >draw-walls</button >
164+ <button x =" 110" y =" 115" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 103" display =" expand right" >shrink-or-expand -1</button >
165+ <button x =" 10" y =" 115" height =" 35" disableUntilTicks =" false" forever =" false" kind =" Observer" width =" 96" display =" shrink right" >shrink-or-expand 1</button >
166166 </widgets >
167167 <info ><![CDATA[ ## WHAT IS IT?
168168
0 commit comments