blob: cf9eacc181cc9ae25599c0e8a02b2de9e99a6d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#N canvas 19 83 830 601 12;
#X graph graph1 0 -1 5 1 569 304 769 154;
#X array array99 5 float;
#X array array98 7 float;
#X pop;
#X text 135 18 MORE ON ARRAYS;
#X msg 17 229 \; array99 rename george;
#X msg 221 229 \; george rename array99;
#X msg 317 166 \; array99 3 -0.5 0.5;
#X text 17 207 renaming an array:;
#X text 16 276 setting the bounds rectangle:;
#X msg 18 296 \; array99 bounds 0 -2 10 2;
#X msg 245 294 \; array99 bounds 0 -1 5 1;
#X msg 19 395 \; array99 xticks 0 1 1;
#X msg 212 394 \; array99 yticks 0 0.1 5;
#X text 15 342 adding x and y labels: give a point to put a tick \, the interval between ticks \, and the number of ticks overall per large tick.;
#X msg 15 472 \; array99 xlabel -1.1 0 1 2 3 4 5;
#X text 12 436 adding labels. Give a y value and a bunch of x values or vice versa:;
#X msg 17 166 \; array98 0 -1 1 -1 1 -1 1 -1 1 -1;
#X msg 305 472 \; array99 ylabel 5.15 -1 0 1;
#X text 556 575 last updated for release 0.33;
#X text 10 39 Arrays have methods to set their values explicitly \; to set their "bounds" rectangles \, to rename them (but if you have two with the same name this won't necessarily do what you want) and to add markings. To set values by message \, send a list whise first element gives the index to start at. The second example sets two values starting at index three. Indices count up from zero.;
#X text 11 522 You can also change x and y range and size in the "properties" dialog. Note that information about size and ranges is saved \, but ticks \, labels \, and the actual data are lost between Pd sessions.;
|