diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-09-15 03:17:27 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-09-15 03:17:27 +0000 |
commit | 46f38b8d427735b339a98994b0db776b874f05ad (patch) | |
tree | 9292d6021d77955d5b63531176dec11d51312ddf /pd/doc/5.reference | |
parent | b8827f17107c537f192c60eef0d7840ba1d2d3e8 (diff) |
Bug fixes for 0.39-0, in preparation for releasing 0.39-1.
svn path=/trunk/; revision=3561
Diffstat (limited to 'pd/doc/5.reference')
-rw-r--r-- | pd/doc/5.reference/drawnumber-help.pd | 48 | ||||
-rw-r--r-- | pd/doc/5.reference/drawpolygon-help.pd | 43 | ||||
-rw-r--r-- | pd/doc/5.reference/plot-help.pd | 43 |
3 files changed, 78 insertions, 56 deletions
diff --git a/pd/doc/5.reference/drawnumber-help.pd b/pd/doc/5.reference/drawnumber-help.pd index a62a8103..a56b13aa 100644 --- a/pd/doc/5.reference/drawnumber-help.pd +++ b/pd/doc/5.reference/drawnumber-help.pd @@ -1,35 +1,43 @@ #N struct help-drawnumber-template float x float y float cat float dog; -#N canvas 369 6 538 189 12; +#N canvas 51 46 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 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; #X scalar help-drawnumber-template 50 100 23 43 \;; #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 +#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 44 104 - RGB color (0=black \, 999=white \, 900=red \, 90=green +#X text 42 211 - 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 +#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 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; +#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; diff --git a/pd/doc/5.reference/drawpolygon-help.pd b/pd/doc/5.reference/drawpolygon-help.pd index fc422af4..e269107e 100644 --- a/pd/doc/5.reference/drawpolygon-help.pd +++ b/pd/doc/5.reference/drawpolygon-help.pd @@ -1,41 +1,44 @@ #N struct help-drawpolygon-template float x float y float cat float dog float weasel; -#N canvas 411 8 565 187 12; +#N canvas 6 23 565 187 12; #X text 13 130 see also:; -#X obj 111 149 drawnumber; -#X obj 207 149 plot; +#X obj 95 149 drawnumber; +#X obj 191 149 plot; #X obj 21 10 drawpolygon; #X obj 21 33 drawcurve; #X obj 126 11 filledpolygon; #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 -; +#N canvas 678 71 587 435 help-drawpolygon-template 1; #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 +#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 by the "dog" field \, and the three points describe a triangle of altitude "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 +#X text 37 123 - 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 +#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; -#X obj 34 149 template; -#N canvas 10 18 384 178 help-drawpolygon-data 1; +#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 text 312 168 updated for Pd version 0.35; +#X obj 34 149 struct; +#X text 312 168 updated for Pd version 0.39; diff --git a/pd/doc/5.reference/plot-help.pd b/pd/doc/5.reference/plot-help.pd index 7d22d06c..0a1e4ef5 100644 --- a/pd/doc/5.reference/plot-help.pd +++ b/pd/doc/5.reference/plot-help.pd @@ -5,34 +5,45 @@ array array2 help-plot-array2-template array array3 help-plot-array3-template #N struct help-plot-array2-template float x float y; #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; +#N canvas 145 122 626 710 help-plot-template 0; #X text 29 34 creation arguments:; -#X text 49 94 - RGB color (0=black \, 999=white \, 900=red \, 90=green +#X text 49 241 - 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 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 170 This first example plots the red trace (500) \, width +#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 351 If a "w" variable is present in the template as for +#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 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 +#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 410 struct help-plot-template float x float y array array1 +#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 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 \, +#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; #X obj 30 71 filledpolygon 0 0 0 -5 0 0 5 5 0 0 -5; |