Update of /cvsroot/pure-data/pd/doc/5.reference In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13699/pd/doc/5.reference
Modified Files: drawnumber-help.pd drawpolygon-help.pd plot-help.pd Log Message: Bug fixes for 0.39-0, in preparation for releasing 0.39-1.
Index: drawnumber-help.pd =================================================================== RCS file: /cvsroot/pure-data/pd/doc/5.reference/drawnumber-help.pd,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** drawnumber-help.pd 9 May 2003 16:03:48 -0000 1.1.1.1 --- drawnumber-help.pd 15 Sep 2005 03:17:27 -0000 1.2 *************** *** 1,10 **** #N struct help-drawnumber-template float x float y float cat float dog; ! #N canvas 369 6 538 189 12; #X text 15 103 see also:; #X obj 18 7 drawnumber; ! #X obj 204 132 plot; ! #X obj 100 131 drawpolygon; ! #X obj 22 130 template; #X text 114 7 -- draw numeric fields from data structures; #N canvas 14 10 297 129 help-drawnumber-data 1; --- 1,9 ---- #N struct help-drawnumber-template float x float y float cat float dog; ! #N canvas 51 46 538 189 12; #X text 15 103 see also:; #X obj 18 7 drawnumber; ! #X obj 187 132 plot; ! #X obj 83 131 drawpolygon; #X text 114 7 -- draw numeric fields from data structures; #N canvas 14 10 297 129 help-drawnumber-data 1; *************** *** 12,35 **** #X scalar help-drawnumber-template 150 50 3.14 -1.618 ;; #X restore 273 71 pd help-drawnumber-data; ! #N canvas 57 283 580 439 help-drawnumber-template 1; ! #X text 24 316 This object defines the fields for this template. Their values are initialized in the "works" subwindow. You can see them by right-clicking on the object in the "data" window and selecting "properties." ; ! #X text 44 104 - RGB color (0=black , 999=white , 900=red , 90=green , 9=blue , 555=grey , etc.); ! #X obj 11 294 template float x float y float cat float dog; ! #X text 22 166 Any of these can be numbers or field names , like "dog" ! and "cat" here.; ! #X text 22 202 When not in "edit" mode , you can click and drag vertically on the numbers to change their values. (In edit mode you can move , cut , copy , and paste the objects.); ! #X text 24 251 Keyboard entry isn't supported yet.; ! #X obj 24 15 drawnumber cat 0 0 0 cat=; ! #X obj 259 16 drawnumber dog 0 -15 900 dog=; ! #X text 44 136 - an optional label ("cat=" for instance); ! #X text 26 44 drawnumber takes arguments specifying:; ! #X text 44 84 - an (x , y) pair giving relative coordinates ;; ! #X text 44 64 - the number to draw; ! #X restore 273 45 pd help-drawnumber-template; ! #X text 275 159 updated for Pd version 0.35; --- 11,43 ---- #X scalar help-drawnumber-template 150 50 3.14 -1.618 ;; #X restore 273 71 pd help-drawnumber-data; ! #N canvas 528 70 575 505 help-drawnumber-template 1; ! #X text 23 438 This object defines the fields for this template. Their values are initialized in the "works" subwindow. You can see them by right-clicking on the object in the "data" window and selecting "properties." ; ! #X text 42 211 - RGB color (0=black , 999=white , 900=red , 90=green , 9=blue , 555=grey , etc.); ! #X text 19 316 When not in "edit" mode , you can click and drag vertically on the numbers to change their values. (In edit mode you can move , cut , copy , and paste the objects.); ! #X text 21 365 Keyboard entry isn't supported yet.; ! #X obj 25 56 drawnumber cat 0 0 0 cat=; ! #X obj 260 57 drawnumber dog 0 -15 900 dog=; ! #X text 42 243 - an optional label ("cat=" for instance); ! #X text 27 85 drawnumber takes arguments specifying:; ! #X text 42 191 - an (x , y) pair giving relative coordinates ;; ! #X text 42 171 - the number to draw; ! #X text 44 24 "0" in inlet makes invisible; ! #X obj 25 27 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ! ; ! #X text 46 112 - optional "-n" flag to make invisible initially; ! #X text 44 133 - alternatively , an optional "-v [variable]" flag ! to assign a variable to make this visible/invisible.; ! #X text 20 273 Any of these (except the two flags) can be numbers or ! field names , like "dog" and "cat" here.; ! #X obj 13 397 struct help-drawnumber-template float x float y float ! cat float dog; ! #X connect 11 0 4 0; ! #X restore 273 44 pd help-drawnumber-template; ! #X obj 22 130 struct; ! #X text 275 159 updated for Pd version 0.39;
Index: drawpolygon-help.pd =================================================================== RCS file: /cvsroot/pure-data/pd/doc/5.reference/drawpolygon-help.pd,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** drawpolygon-help.pd 9 May 2003 16:03:49 -0000 1.1.1.1 --- drawpolygon-help.pd 15 Sep 2005 03:17:27 -0000 1.2 *************** *** 1,8 **** #N struct help-drawpolygon-template float x float y float cat float dog float weasel; ! #N canvas 411 8 565 187 12; #X text 13 130 see also:; ! #X obj 111 149 drawnumber; ! #X obj 207 149 plot; #X obj 21 10 drawpolygon; #X obj 21 33 drawcurve; --- 1,8 ---- #N struct help-drawpolygon-template float x float y float cat float dog float weasel; ! #N canvas 6 23 565 187 12; #X text 13 130 see also:; ! #X obj 95 149 drawnumber; ! #X obj 191 149 plot; #X obj 21 10 drawpolygon; #X obj 21 33 drawcurve; *************** *** 10,24 **** #X obj 127 33 filledcurve; #X text 225 10 -- draw shapes for data structures; ! #N canvas 30 290 587 435 help-drawpolygon-template 1; ! #X obj 14 335 template float x float y float cat float dog float weasel ! ; #X obj 19 24 drawpolygon 0 2 0 0 0 weasel; ! #X text 26 44 drawpolygon and drawcurve take arguments specifying: ! ; ! #X text 29 137 Any of these can be numbers or field names , like "weasel" ! here. The example above draws a vertical black line of height "weasel". ! ; ! #X obj 19 194 filledpolygon 900 dog 3 10 0 20 cat 30 0; ! #X text 31 216 filledpolyconn and filledcurve take the same arguments , except that a new first argument is added to specify interior color. Here the interior color is red (900) , the outline color is controlled --- 10,17 ---- #X obj 127 33 filledcurve; #X text 225 10 -- draw shapes for data structures; ! #N canvas 678 71 587 435 help-drawpolygon-template 1; #X obj 19 24 drawpolygon 0 2 0 0 0 weasel; ! #X obj 18 259 filledpolygon 900 dog 3 10 0 20 cat 30 0; ! #X text 30 281 filledpolyconn and filledcurve take the same arguments , except that a new first argument is added to specify interior color. Here the interior color is red (900) , the outline color is controlled *************** *** 26,41 **** "cat". The fields x and y automatically govern the placement of the object as a whole.; ! #X text 45 62 - RGB color (0=black , 999=white , 900=red , 90=green , 9=blue , 555=grey , etc.); ! #X text 46 95 - line width; ! #X text 46 116 - two or more (x , y) pairs giving coordinates.; ! #X text 24 357 This object defines the fields for this template. You can see teh fields' values by right-clicking on the object in the "data" window and selecting "properties."; #X restore 274 93 pd help-drawpolygon-template; ! #X obj 34 149 template; ! #N canvas 10 18 384 178 help-drawpolygon-data 1; #X scalar help-drawpolygon-template 50 40 30 9 80 ;; #X scalar help-drawpolygon-template 150 40 -20 90 50 ;; #X restore 274 119 pd help-drawpolygon-data; ! #X text 312 168 updated for Pd version 0.35; --- 19,44 ---- "cat". The fields x and y automatically govern the placement of the object as a whole.; ! #X text 37 123 - RGB color (0=black , 999=white , 900=red , 90=green , 9=blue , 555=grey , etc.); ! #X text 36 160 - line width; ! #X text 36 181 - two or more (x , y) pairs giving coordinates.; ! #X text 25 444 This object defines the fields for this template. You can see teh fields' values by right-clicking on the object in the "data" window and selecting "properties."; + #X obj 13 400 struct help-drawpolygon-template float x float y float + cat float dog float weasel; + #X text 26 44 drawpolygon and drawcurve take these arguments:; + #X text 40 67 - optional "-n" flag to make invisible initially; + #X text 38 88 - alternatively , an optional "-v [variable]" flag to + assign a variable to make this visible/invisible.; + #X text 27 202 Any of these (except the flags) can be numbers or field + names , like "weasel" here. The example above draws a vertical black + line of height "weasel".; #X restore 274 93 pd help-drawpolygon-template; ! #N canvas 11 270 384 178 help-drawpolygon-data 1; #X scalar help-drawpolygon-template 50 40 30 9 80 ;; #X scalar help-drawpolygon-template 150 40 -20 90 50 ;; + #X coords 0 178 1 177 0 0 0; #X restore 274 119 pd help-drawpolygon-data; ! #X obj 34 149 struct; ! #X text 312 168 updated for Pd version 0.39;
Index: plot-help.pd =================================================================== RCS file: /cvsroot/pure-data/pd/doc/5.reference/plot-help.pd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** plot-help.pd 18 May 2005 04:28:31 -0000 1.3 --- plot-help.pd 15 Sep 2005 03:17:27 -0000 1.4 *************** *** 6,37 **** #N struct help-plot-array3-template float y float w; #N canvas 477 38 516 229 12; ! #N canvas 486 0 622 558 help-plot-template 0; #X text 29 34 creation arguments:; ! #X text 49 94 - RGB color (0=black , 999=white , 900=red , 90=green , 9=blue , 555=grey , etc.); ! #X text 47 52 - OPTIONAL word "curve" to specify bezier; ! #X text 47 121 - line width; ! #X text 47 137 - relative x and y location; ! #X text 48 153 - x spacing; ! #X obj 40 240 plot curve array2 70 3 100 0; ! #X obj 31 331 plot curve array3 9 1 120 50 20; #X obj 45 12 plot array1 500 1 10 15 20; ! #X text 30 170 This first example plots the red trace (500) , width 1 , at point (10 , 15) , with horizontal spacing 20 The black diamonds come from the template of the array1 element itself.; ! #X text 51 351 If a "w" variable is present in the template as for array3 , it is added to the line width.; ! #X obj 28 524 filledpolygon 509 509 0 -10 -10 10 -10 10 10 -10 10; ! #X text 28 477 To see the data itself , select "properties" for the scalar by right clicking on the purple square.; ! #X obj 25 410 struct help-plot-template float x float y array array1 help-plot-array1-template array array2 help-plot-array2-template array array3 help-plot-array3-template; ! #X text 34 389 here's the "struct" for all this:; ! #X text 46 73 - field to plot (the array); ! #X text 63 262 This is the green spiral (color 70 , line width 3 , location (100 , 0). Since the template for array2 contains an "x" variable , play ignores x spacing requests and takes x from the data itself.; #X restore 243 78 pd help-plot-template; #N canvas 196 292 273 120 help-plot-array1-template 0; --- 6,48 ---- #N struct help-plot-array3-template float y float w; #N canvas 477 38 516 229 12; ! #N canvas 145 122 626 710 help-plot-template 0; #X text 29 34 creation arguments:; ! #X text 49 241 - RGB color (0=black , 999=white , 900=red , 90=green , 9=blue , 555=grey , etc.); ! #X text 47 271 - line width; ! #X text 47 290 - relative x and y location; ! #X text 48 310 - x spacing; ! #X obj 40 397 plot curve array2 70 3 100 0; ! #X obj 31 488 plot curve array3 9 1 120 50 20; #X obj 45 12 plot array1 500 1 10 15 20; ! #X text 30 327 This first example plots the red trace (500) , width 1 , at point (10 , 15) , with horizontal spacing 20 The black diamonds come from the template of the array1 element itself.; ! #X text 51 508 If a "w" variable is present in the template as for array3 , it is added to the line width.; ! #X obj 23 672 filledpolygon 509 509 0 -10 -10 10 -10 10 10 -10 10; ! #X text 28 634 To see the data itself , select "properties" for the scalar by right clicking on the purple square.; ! #X obj 25 567 struct help-plot-template float x float y array array1 help-plot-array1-template array array2 help-plot-array2-template array array3 help-plot-array3-template; ! #X text 34 546 here's the "struct" for all this:; ! #X text 46 220 - field to plot (the array); ! #X text 63 419 This is the green spiral (color 70 , line width 3 , location (100 , 0). Since the template for array2 contains an "x" variable , play ignores x spacing requests and takes x from the data itself.; + #X text 48 51 - optional "-n" flag to make invisible initially; + #X text 47 70 - alternatively , an optional "-v [variable]" flag to + assign a variable to make this visible/invisible.; + #X text 51 101 - Opional "-vs [constant or variable] to set visibility + of scalars along the path of the plot.; + #X text 47 199 - optional word "curve" to specify bezier; + #X text 47 132 - optional "-x [variable]" flag to use different x variable + ; + #X text 48 153 - optional "-y [variable]" flag to use different y variable + ; + #X text 48 173 - optional "-w [variable]" flag to use different w variable + ; #X restore 243 78 pd help-plot-template; #N canvas 196 292 273 120 help-plot-array1-template 0;