[9fans] Colors in plot(1)

2024-11-10 Thread Anthony Sorace
Am I misunderstanding something, or do these just not work? For example, I'd expect this: echo '1 2 3 4 5' | graph -a | plot -pr -cb -fg to give me a red diagonal line in front of a blue background, filled in with green underneath. On both Plan 9 and p9p, I instead get the same as if I'

Re: [9fans] Colors in plot(1)

2024-11-10 Thread umbraticus
I have only ever used the pen colour option to graph. ie. at least this does something, so it can't be all broke echo '1 2 3 4 5' | graph -a -p r | plot but indeed your line doesn't work for me either. from a quick look all I can say is that these tools could do with being converted to using ARGB

Re: [9fans] Colors in plot(1)

2024-11-10 Thread Anthony Sorace
Yes, I see graph working, too, but afaik graph doesn’t have a way to do fill colors. > On Nov 10, 2024, at 15:21, umbrati...@prosimetrum.com wrote: > > I have only ever used the pen colour option to graph. > ie. at least this does something, so it can't be all broke > > echo '1 2 3 4 5' | gra

Re: [9fans] Colors in plot(1)

2024-11-10 Thread Aidan K . Wiggins
I'd imagine graph could, at least according to plot(6), using co/cf commands. (Haphazardly) Changing e1 to e0 in cfill()/color() seemed to let me change foreground/pen colors at least, so I can do something like: seq 0 5 | graph -a | plot -fb -cw to get white text on a blue background.