Hi hans,

You should try my sarray abstraction (based on this discussion https://forum.pdpatchrepo.info/topic/11184/colarray-a-graphical-array-where-color-and-line-width-can-be-set)

download here https://github.com/jyg/mob/releases/tag/mob-0.1

There is some trickery to get an array name with $0 tag, but it's explained

J.Y.G.

Re: [PD] is there a way to color the points/curve in an array?
From:
"hans w. koch" <hansw.koch@gmail.com>
Date:
28/05/2021 à 22:02
To:
Pd-List <pd-list@lists.iem.at>

thank you, roman and alexandre, for the pointers!

it seems, the best option is to wait, till the discussion alexandre referenced (https://github.com/pure-data/pure-data/pull/711) comes to fruition.
purr data has implemented such a color picker for arrays, so that would be the second best option.
i looked into Jmmmp multiarray, but i seemed to be better suited at displaying static waveforms. 
maybe i overlooked something.

i am (ab)using pd as an eight channel oszilloscope. 
things get messy pretty fast without colors.





Am 28.05.2021 um 14:59 schrieb Roman Haefeli <reduzent@gmail.com>:

On Fri, 2021-05-28 at 14:04 +0200, Roman Haefeli wrote:
On Fri, 2021-05-28 at 13:31 +0200, hans w. koch wrote:
using 4 superimposed arrays to show different waveforms (e.g. phase
differences), i was wondering, if there is a way to assign a unique
color to each array, to visually better separate the waveforms.
i found a discussion "[PD] Array Enhancements" about that (and
other
things, like "Hide Array name” - still not working) from 2009 [1]
and
another one "[PD] colored arrays?” from 2007 [2],
but no tangible result - or i missed that, then sorry!

As someone mentioned in one of the other threads, you could achieve
colored array displays with data structures.

An example is here:
https://www.netpd.org/fl-hishv.png

Probably much closer to what you actually need is the [multiarray] from
the jmmmp library. It's in Deken.

Roman

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list mailing list
Pd-list@lists.iem.at
to manage your subscription (including un-subscription) see
https://lists.puredata.info/listinfo/pd-list