Hello
I’m trying to made a plotter abstraction and I cannot find a way to graph-on-parent a struct - is it just not possible?
If not possible, is there a good repo of examples of vanilla-only programmed plotter abstractions that would graph-in-parent like Arrays do?
Any pointer (pun intended) welcome
p
I cannot find a way to graph-on-parent a struct - is it just not possible?
It is certainly possible. After all, graphical arrays are just that: data structure arrays inside a GOP subpatch.
You just have to remember to set the "x range" and "y range" in the GOP settings to match the value range of your data structure(s).
Attached you will find a simple example.
Christof
On 27.10.2021 13:12, Pierre Alexandre Tremblay wrote:
Hello
I’m trying to made a plotter abstraction and I cannot find a way to graph-on-parent a struct - is it just not possible?
If not possible, is there a good repo of examples of vanilla-only programmed plotter abstractions that would graph-in-parent like Arrays do?
Any pointer (pun intended) welcome
p
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
you can also see many examples of structs on gop in the jmmmp library: faders, bezier, multiarray, matrixctrl and others whose name I can't remember now.
On Wed, 27 Oct 2021 at 14:14, Christof Ressi info@christofressi.com wrote:
I cannot find a way to graph-on-parent a struct - is it just not possible?
It is certainly possible. After all, graphical arrays are just that: data structure arrays inside a GOP subpatch.
You just have to remember to set the "x range" and "y range" in the GOP settings to match the value range of your data structure(s).
Attached you will find a simple example.
Christof On 27.10.2021 13:12, Pierre Alexandre Tremblay wrote:
Hello
I’m trying to made a plotter abstraction and I cannot find a way to graph-on-parent a struct - is it just not possible?
If not possible, is there a good repo of examples of vanilla-only programmed plotter abstractions that would graph-in-parent like Arrays do?
Any pointer (pun intended) welcome
p
_______________________________________________Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Ok great - I couldn’t find this in the doc so I hit my head agains the wall a lot…
I’ll study your patch
Thanks for this!
On 27 Oct 2021, at 13:11, Christof Ressi info@christofressi.com wrote:
I cannot find a way to graph-on-parent a struct - is it just not possible?
It is certainly possible. After all, graphical arrays are just that: data structure arrays inside a GOP subpatch.
You just have to remember to set the "x range" and "y range" in the GOP settings to match the value range of your data structure(s).
Attached you will find a simple example.
Christof
On 27.10.2021 13:12, Pierre Alexandre Tremblay wrote:
Hello
I’m trying to made a plotter abstraction and I cannot find a way to graph-on-parent a struct - is it just not possible?
If not possible, is there a good repo of examples of vanilla-only programmed plotter abstractions that would graph-in-parent like Arrays do?
Any pointer (pun intended) welcome
p
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
<plot-example.pd>_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
ah or probably in the tutorial I sent, including the chapter on how to control the gop. (I'm not at home, so I can't open Pd)
On Wed, 27 Oct 2021 at 15:04, Pierre Alexandre Tremblay tremblap@gmail.com wrote:
Ok great - I couldn’t find this in the doc so I hit my head agains the wall a lot…
I’ll study your patch
Thanks for this!
On 27 Oct 2021, at 13:11, Christof Ressi info@christofressi.com wrote:
I cannot find a way to graph-on-parent a struct - is it just not
possible?
It is certainly possible. After all, graphical arrays are just that:
data structure arrays inside a GOP subpatch.
You just have to remember to set the "x range" and "y range" in the GOP
settings to match the value range of your data structure(s).
Attached you will find a simple example.
Christof
On 27.10.2021 13:12, Pierre Alexandre Tremblay wrote:
Hello
I’m trying to made a plotter abstraction and I cannot find a way to
graph-on-parent a struct - is it just not possible?
If not possible, is there a good repo of examples of vanilla-only
programmed plotter abstractions that would graph-in-parent like Arrays do?
Any pointer (pun intended) welcome
p
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
<plot-example.pd>_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list