> 1 into the inlet makes plot visible, 0 makes it invisible. to add some info: this toggles visibility for all instances of the struct. if you want to control visibility per instance then use the "-v" flag together with a field name of your struct and control it with the [set] object (which takes a pointer to the instance). this is the same as changing the color, as Jonathan explained.
note that you can't send a float message to [plot] once you provide the "-v" flag. Christof Gesendet: Sonntag, 22. Oktober 2017 um 13:57 Uhr Von: jonathanfr...@gmx.net An: pd-list@lists.iem.at Betreff: Re: [PD] (simple) questions about [plot] hi rolf, 1 into the inlet makes plot visible, 0 makes it invisible. for color you need to define a float variable in struct so that you can change the color with set in polygon/curve/symbol/number. jonathan Gesendet: Sonntag, 22. Oktober 2017 um 13:26 Uhr Von: ro...@dds.nl An: "Pd list" <pd-list@lists.iem.at> Betreff: [PD] (simple) questions about [plot] hi list, in the [plot]-help-file is says: "alternatively, an optional "-v [variable]" flag to assign a variable to make this visible/invisible." when creating the object, using at -v 1 makes is visible, -v 0 hides it. but how to change this during runtime? same question for the color. [plot] has an inlet, however it has 'no method' for 'set' or for 'vis' or 'color'. the only suggestion (10 years old) i found was to dynamically delete the object and create a new one with the desired arguments. rolf _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list[https://deref-gmx.net/mail/client/6D9JzrJjqV4/dereferrer/?redirectUrl=https%3A%2F%2Fderef-gmx.net%2Fmail%2Fclient%2Fw7cvIlxSSbQ%2Fdereferrer%2F%3FredirectUrl%3Dhttps%253A%252F%252Flists.puredata.info%252Flistinfo%252Fpd-list] _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list[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