[PD] data structures in abstractions
Jonathan Wilkes
jancsika at yahoo.com
Tue Nov 27 21:09:35 CET 2012
----- Original Message -----
> From: eldad tsabary <tazberrydocs at gmail.com>
> To: pd-list at iem.at
> Cc:
> Sent: Tuesday, November 27, 2012 1:48 PM
> Subject: [PD] data structures in abstractions
>
> Hello all
> Is there a way to include a data structure graphical shape (filledpolygon for
> example) inside an abstraction's graph on parent?
> I saw that when trying to add a graph on parent in the data window it messes up
> everything.
> Thanks
> Eldad
Hi Eldad,
You have to adjust the x range and y range in the canvas properties to be "in
agreement" with the x and y size in the canvas properties. So if x size is 85, make
the range 0 to 84, and do a similar process for the y.
I think it's done this way for "Put" menu arrays where you would have a different
y range depending on the situation. However, drawing instructions like [plot] give the
ability to scale the values of a scalar to some screen pixel range so I don't get why
this "range" business is part of the canvas properties (or the canvas class for that
matter).
-Jonathan
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list