Skip to content

Commit 4d178fa

Browse files
committed
Fix shape and color key on Radical Polymerization with Chains
1 parent 82a146d commit 4d178fa

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

Sample Models/Chemistry & Physics/Materials Science/Radical Polymerization with Chains.nlogox

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -239,28 +239,8 @@ end
239239
; See Info tab for full copyright and license.]]></code>
240240
<widgets>
241241
<view x="261" wrappingAllowedX="true" y="10" frameRate="30.0" minPycor="-45" height="550" showTickCounter="true" patchSize="6.0" fontSize="5" wrappingAllowedY="true" width="550" tickCounterLabel="ticks" maxPycor="45" updateMode="1" maxPxcor="45" minPxcor="-45"></view>
242-
<slider x="6" step="1" y="11" max="1000" width="250" display="num-monomers" height="50" min="1" direction="Horizontal" default="1000.0" variable="num-monomers"></slider>
243-
<note x="14" y="364" backgroundDark="0" fontSize="12" width="150" markdown="false" height="26" textColorDark="-1" textColorLight="-16777216" backgroundLight="0"><![CDATA[Shape & Color Key
244-
245-
]]></note>
246-
<note x="39" y="389" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-8275240" backgroundLight="0">monomers: sky blue</note>
247-
<note x="40" y="409" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-5825686" backgroundLight="0">radical mers: magenta</note>
248-
<note x="39" y="429" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-14454117" backgroundLight="0">saturated mers: teal</note>
249-
<note x="39" y="449" backgroundDark="0" fontSize="11" width="175" markdown="false" height="26" textColorDark="-1" textColorLight="-612749" backgroundLight="0">radical initiators: light orange</note>
250-
<note x="14" y="439" backgroundDark="0" fontSize="25" width="25" markdown="false" height="23" textColorDark="-1" textColorLight="-612749" backgroundLight="0">■</note>
251-
<note x="14" y="459" backgroundDark="0" fontSize="25" width="25" markdown="false" height="31" textColorDark="-1" textColorLight="-6995700" backgroundLight="0">■</note>
252-
<note x="14" y="419" backgroundDark="0" fontSize="25" width="25" markdown="false" height="31" textColorDark="-1" textColorLight="-14454117" backgroundLight="0">●</note>
253-
<note x="14" y="399" backgroundDark="0" fontSize="25" width="25" markdown="false" height="31" textColorDark="-1" textColorLight="-5825686" backgroundLight="0">●</note>
254-
<note x="14" y="379" backgroundDark="0" fontSize="25" width="25" markdown="false" height="31" textColorDark="-1" textColorLight="-8275240" backgroundLight="0">●</note>
255-
<note x="39" y="469" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-6995700" backgroundLight="0">initiators: dark orange</note>
256242
<slider x="4" step="1" y="294" max="100" width="250" display="disproportionation-prob" height="50" min="0" direction="Horizontal" default="0.0" variable="disproportionation-prob"></slider>
257-
<button x="119" y="249" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="135">add-radical-initiators</button>
258243
<button x="4" y="249" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="105">add-monomers</button>
259-
<button x="89" y="134" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="70" display="go once">go</button>
260-
<button x="4" y="134" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="70">setup</button>
261-
<button x="172" y="134" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="80">go</button>
262-
<slider x="4" step="1" y="191" max="100" width="250" display="num-add" height="50" min="1" direction="Horizontal" default="100.0" variable="num-add"></slider>
263-
<slider x="5" step="1" y="70" max="100" width="250" display="num-radical-initiators" height="50" min="1" direction="Horizontal" default="30.0" variable="num-radical-initiators"></slider>
264244
<plot x="820" autoPlotX="false" yMax="0.0" autoPlotY="false" yAxis="Number of Molecules" y="10" xMin="0.0" height="290" legend="true" xMax="0.0" yMin="0.0" width="377" xAxis="Molecular Weight" display="Molecular Weight Distribution">
265245
<setup>set-plot-x-range 0 (round (num-monomers * 0.1))
266246
set-plot-y-range 0 (round (num-radical-initiators * 0.7))</setup>
@@ -298,6 +278,26 @@ plotxy wgt-avg-molecular-weight plot-y-max</update>
298278
<update>plot (count unsaturated-mers with [monomer?]) / (world-width * world-height)</update>
299279
</pen>
300280
</plot>
281+
<slider x="6" step="1" y="11" max="1000" width="250" display="num-monomers" height="50" min="1" direction="Horizontal" default="1000.0" variable="num-monomers"></slider>
282+
<button x="4" y="134" height="40" disableUntilTicks="false" forever="false" kind="Observer" width="70">setup</button>
283+
<button x="89" y="134" height="40" disableUntilTicks="true" forever="false" kind="Observer" width="70" display="go once">go</button>
284+
<button x="172" y="134" height="40" disableUntilTicks="true" forever="true" kind="Observer" width="80">go</button>
285+
<slider x="5" step="1" y="70" max="100" width="250" display="num-radical-initiators" height="50" min="1" direction="Horizontal" default="30.0" variable="num-radical-initiators"></slider>
286+
<slider x="4" step="1" y="191" max="100" width="250" display="num-add" height="50" min="1" direction="Horizontal" default="100.0" variable="num-add"></slider>
287+
<button x="119" y="249" height="35" disableUntilTicks="true" forever="false" kind="Observer" width="135">add-radical-initiators</button>
288+
<note x="5" y="355" backgroundDark="0" fontSize="12" width="150" markdown="false" height="26" textColorDark="-1" textColorLight="-16777216" backgroundLight="0"><![CDATA[Shape & Color Key
289+
290+
]]></note>
291+
<note x="1" y="371" backgroundDark="0" fontSize="25" width="35" markdown="false" height="31" textColorDark="-1" textColorLight="-8275240" backgroundLight="0">●</note>
292+
<note x="1" y="396" backgroundDark="0" fontSize="25" width="35" markdown="false" height="31" textColorDark="-1" textColorLight="-5825686" backgroundLight="0">●</note>
293+
<note x="1" y="421" backgroundDark="0" fontSize="25" width="40" markdown="false" height="31" textColorDark="-1" textColorLight="-14454117" backgroundLight="0">●</note>
294+
<note x="1" y="446" backgroundDark="0" fontSize="25" width="35" markdown="false" height="30" textColorDark="-1" textColorLight="-612749" backgroundLight="0">■</note>
295+
<note x="1" y="471" backgroundDark="0" fontSize="25" width="35" markdown="false" height="35" textColorDark="-1" textColorLight="-6995700" backgroundLight="0">■</note>
296+
<note x="36" y="481" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-6995700" backgroundLight="0">initiators: dark orange</note>
297+
<note x="36" y="456" backgroundDark="0" fontSize="11" width="175" markdown="false" height="18" textColorDark="-1" textColorLight="-612749" backgroundLight="0">radical initiators: light orange</note>
298+
<note x="36" y="431" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-14454117" backgroundLight="0">saturated mers: teal</note>
299+
<note x="36" y="406" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-5825686" backgroundLight="0">radical mers: magenta</note>
300+
<note x="36" y="381" backgroundDark="0" fontSize="11" width="150" markdown="false" height="18" textColorDark="-1" textColorLight="-8275240" backgroundLight="0">monomers: sky blue</note>
301301
</widgets>
302302
<info><![CDATA[## WHAT IS IT?
303303

0 commit comments

Comments
 (0)