plot
From Pdpedia
| {{{example_image}}} caption | |
| Description: | plot an array field |
|---|---|
| Abbreviation: | |
| Library: | vanilla |
| Author(s): | Miller S. Puckette and others |
| Developer(s): | |
| Release version: | |
| Release date: | 2007 |
| Status: | active |
| Dependencies: | |
| License: | BSD |
| Website: | http://crca.ucsd.edu/~msp/software.html |
| Programming Language: | |
| Platform(s): | GNU/Linux, Mac OS X, Windows |
| Language: | English |
| Data type(s): | message |
| Distribution(s): | DesireData, PDa, Pd-extended, Pd-vanilla, puredata debian package, pure:dyne |
-- draw array elements of scalars
creation arguments:
- optional "-n" flag to make invisible initially
- alternatively, an optional "-v [variable]" flag to assign a variable to make this visible/invisible.
explanation is in here-->
- Opional "-vs [constant or variable] to set visibility of scalars along the path of the plot.
- optional "-x [variable]" flag to use different x variable
see also:
- optional "-y [variable]" flag to use different y variable
- optional "-w [variable]" flag to use different w variable
- optional word "curve" to specify bezier
updated for Pd version 0.35
- field to plot (the array)
- RGB color (0=black, 999=white, 900=red, 90=green \, 9=blue, 555=grey, etc.)
- line width
- relative x and y location
- x spacing
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.
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.
If a "w" variable is present in the template as for array3, it is added to the line width.
here's the "struct" for all this:
To see the data itself, select "properties" for the scalar by right clicking on the purple square.
Contents |

