Debian Codegraph @

online/static/samples/Plotting Datasets/Plot Two Lists.xml

raw symbols SCIP
1 <xml xmlns="https://developers.google.com/blockly/xml">
2 <description>
3 <![CDATA[
4
5 ## Introduction to lists
6
7 In this example we have done the following
8
9 + Created an empty list using the create list block
10 + Dragged a `set list to` block and attached it to the create list block
11 + renamed the list to mylist
12
13 + Created a second list called mylist2
14
15 + Added numbers 1,2,3 to the first, and 4,5,6 to the second list
16 + Plot list1 on the X axis, and List 2 on the Y axis
17
18
19 ]]>
20 </description>
21
22 <variables>
23 <variable id="1+GAo?@z+(,^32-UFg++">mylist</variable>
24 <variable id="ZHzR_1b9[t1=F!y{a.VT">mylist2</variable>
25 </variables>
26 <block type="variables_set" id="EM.NIo4B[5O%SKI]P^Ff" x="0" y="0">
27 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
28 <value name="VALUE">
29 <block type="lists_create_with" id="PXEETt+2ksQY+Z|9bQj)">
30 <mutation items="0"></mutation>
31 </block>
32 </value>
33 <next>
34 <block type="lists_setIndex" id="3??u/BDV,DCTNtcaT]_=">
35 <mutation at="false"></mutation>
36 <field name="MODE">INSERT</field>
37 <field name="WHERE">LAST</field>
38 <value name="LIST">
39 <block type="variables_get" id="~^G}$_*){;;5g2vv3$l-">
40 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
41 </block>
42 </value>
43 <value name="TO">
44 <block type="math_number" id="H?jOH3^b==(3czLvH.Ob">
45 <field name="NUM">1</field>
46 </block>
47 </value>
48 <next>
49 <block type="lists_setIndex" id="AD7TwhK{i}l-Xyf_7[5K">
50 <mutation at="false"></mutation>
51 <field name="MODE">INSERT</field>
52 <field name="WHERE">LAST</field>
53 <value name="LIST">
54 <block type="variables_get" id="z:GqfJa=W#.Mj(~2M}5u">
55 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
56 </block>
57 </value>
58 <value name="TO">
59 <block type="math_number" id="!oe4att3ki|,,)Y%3;ps">
60 <field name="NUM">2</field>
61 </block>
62 </value>
63 <next>
64 <block type="lists_setIndex" id="v*#hQt0.*+rhbrACmGq9">
65 <mutation at="false"></mutation>
66 <field name="MODE">INSERT</field>
67 <field name="WHERE">LAST</field>
68 <value name="LIST">
69 <block type="variables_get" id="y_+/0R%:{50-{iLr!~HV">
70 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
71 </block>
72 </value>
73 <value name="TO">
74 <block type="math_number" id="F1$j0td|%7037{K$mj+^">
75 <field name="NUM">3</field>
76 </block>
77 </value>
78 <next>
79 <block type="cs_print" id="OvdOc).Qgs|:`SiWRgDA">
80 <value name="TEXT">
81 <shadow type="text" id="W#9%QeySd^mGaf5S3@at">
82 <field name="TEXT">abc</field>
83 </shadow>
84 <block type="variables_get" id="}fF?4J{eCMNAnRv^-h[6">
85 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
86 </block>
87 </value>
88 <next>
89 <block type="variables_set" id="`cs|C_g$B8?t!iF^OS`7">
90 <field name="VAR" id="ZHzR_1b9[t1=F!y{a.VT">mylist2</field>
91 <value name="VALUE">
92 <block type="lists_create_with" id="E)|p$O8u5b{-;/{Y]WeX">
93 <mutation items="0"></mutation>
94 </block>
95 </value>
96 <next>
97 <block type="lists_setIndex" id="ubnKA5`X?G/3M|~Fs-;}">
98 <mutation at="false"></mutation>
99 <field name="MODE">INSERT</field>
100 <field name="WHERE">LAST</field>
101 <value name="LIST">
102 <block type="variables_get" id="m0mx*fH|*.U9i/ZyI0mQ">
103 <field name="VAR" id="ZHzR_1b9[t1=F!y{a.VT">mylist2</field>
104 </block>
105 </value>
106 <value name="TO">
107 2022-08-16 01:38:35.371 26492-26737/com.cspark.kuttypy E/kuttypy: <block type="math_number" id="2aG;|ajDhtPr,~XOxmE8">
108 <field name="NUM">4</field>
109 </block>
110 </value>
111 <next>
112 <block type="lists_setIndex" id="LT/+-H1B75`P:1Tb66=l">
113 <mutation at="false"></mutation>
114 <field name="MODE">INSERT</field>
115 <field name="WHERE">LAST</field>
116 <value name="LIST">
117 <block type="variables_get" id="5IGCNrxirnX*kbnJ~/s5">
118 <field name="VAR" id="ZHzR_1b9[t1=F!y{a.VT">mylist2</field>
119 </block>
120 </value>
121 <value name="TO">
122 <block type="math_number" id="F]Ce=fNP!RP#^lts}c?A">
123 <field name="NUM">5</field>
124 </block>
125 </value>
126 <next>
127 <block type="lists_setIndex" id="]J{s0Mh[;##LtU^.9W-R">
128 <mutation at="false"></mutation>
129 <field name="MODE">INSERT</field>
130 <field name="WHERE">LAST</field>
131 <value name="LIST">
132 <block type="variables_get" id="S864L7AZ84]9,0-n$EiQ">
133 <field name="VAR" id="ZHzR_1b9[t1=F!y{a.VT">mylist2</field>
134 </block>
135 </value>
136 <value name="TO">
137 <block type="math_number" id="FKW^QZ-C]zB+})W=%`[d">
138 <field name="NUM">6</field>
139 </block>
140 </value>
141 <next>
142 <block type="cs_print" id="e[_%~-yDTPqo0$I_$.Fy">
143 <value name="TEXT">
144 <shadow type="text" id="t:+.@t`s/aS;WSR96DQY">
145 <field name="TEXT">abc</field>
146 </shadow>
147 <block type="variables_get" id="l:6_w:{l?x/v#*lUdjQ+">
148 <field name="VAR" id="ZHzR_1b9[t1=F!y{a.VT">mylist2</field>
149 </block>
150 </value>
151 <next>
152 <block type="plot_xyarray" id="7^;Y@t^G~ZqRRXOH;~`r">
153 <value name="X">
154 <block type="variables_get" id="[zl5~(t.]K/2P|ep.+,m">
155 <field name="VAR" id="1+GAo?@z+(,^32-UFg++">mylist</field>
156 </block>
157 </value>
158 <value name="Y">
159 <block type="variables_get" id="v`H!-I`}Nc.[.8P0mnNS">
160 <field name="VAR" id="ZHzR_1b9[t1=F!y{a.VT">mylist2</field>
161 </block>
162 </value>
163 </block>
164 </next>
165 </block>
166 </next>
167 </block>
168 </next>
169 2022-08-16 01:38:35.371 26492-26737/com.cspark.kuttypy E/kuttypy: </block>
170 </next>
171 </block>
172 </next>
173 </block>
174 </next>
175 </block>
176 </next>
177 </block>
178 </next>
179 </block>
180 </next>
181 </block>
182 </next>
183 </block>
184 </xml>