Hi Arthur,

On 08.03.06, Guest2 CERT wrote:
> g.plot([graph.data.file("data.txt", xname=0, y=2),
>         graph.data.file("data.txt", xname=0, y=3)],
>         [graph.style.bar([color.rgb(0.7, 0.3, 0.5)])]
>       )

You need to use an changeable attribute here. A palette will do, but
you can also build a changable attribute from a list of colors. See
4.3.5 in the FAQ.

HTH,


André

-- 
by  _ _      _    Dr. André Wobst
   / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to