[PD] data structures variable plot x spacing

2009-08-27 Thread João Pais

Hi,

quick qestion: is there a way to make the x spacing in [plot] to be  
dynamic? Arrays in data structures is a bit new for me, and I'm not  
getting it for this. Also looked at the examples + Frank's tutorial, but  
couldn't find anything.


best,

João Pais

--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] data structures variable plot x spacing

2009-08-27 Thread Jonathan Wilkes


--- On Thu, 8/27/09, João Pais jmmmp...@googlemail.com wrote:

 From: João Pais jmmmp...@googlemail.com
 Subject: [PD] data structures variable plot x spacing
 To: PD-List pd-list@iem.at
 Date: Thursday, August 27, 2009, 10:48 PM
 Hi,
 
 quick qestion: is there a way to make the x spacing in
 [plot] to be dynamic? Arrays in data structures is a bit new
 for me, and I'm not getting it for this. Also looked at the
 examples + Frank's tutorial, but couldn't find anything.

Sure.  Use a variable instead of a static value, like [plot some_array 0 1 0 0 
x-spacing], and make sure x-spacing is in the 
relevant [struct] object.  Then use [set] to change x-spacing.

Unfortunately, you still can't do x0(0:max-px)(0:max), or x0(0:100) 
(0:100)(q), though you could hack your way around the latter using 
the outlet from [struct].

-Jonathan

 
 best,
 
 João Pais
 
 --Friedenstr. 58
 10249 Berlin (Deutschland)
 Tel +49 30 42020091 | Mob +49 162 6843570
 Studio +49 30 69509190
 jmmmp...@googlemail.com
 | skype: jmmmpjmmmp
 
 ___
 Pd-list@iem.at
 mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 


  

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] data structures variable plot x spacing

2009-08-27 Thread João Pais
Sure.  Use a variable instead of a static value, like [plot some_array 0  
1 0 0 x-spacing], and make sure x-spacing is in the

relevant [struct] object.  Then use [set] to change x-spacing.

Unfortunately, you still can't do x0(0:max-px)(0:max), or x0(0:100)
(0:100)(q), though you could hack your way around the latter using
the outlet from [struct].


of course, was doing it in the wrong struct. thanks.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list