That's likely the case.  It seems using co in place of cf works in
your example:

{ echo ra 0 0 100 100; echo co b ; echo di 50 50 50; } | plot

But yes, any indication of the documentation leads us to believe cf
should work.  Plot and friends might benefit from a glazing over and
cleaning.
------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T62d5b23c85d6a7c1-M8ebd2146817624564531112c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
--- Begin Message ---
Aidan K. Wiggins <a...@oneiri.one> wrote:
> 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.

I wonder if it's not just plot's option parsing that's buggy. The
documentation for di indicates it uses the cfill colour, but this:

        { echo ra 0 0 100 100; echo cf b; echo di 50 50 50 } | plot

draws a black disc. I am not at all familiar with plot but that
seems wrong: "cf b" should have set the fill colour to blue.

-- 
James

--- End Message ---

Reply via email to