|
From: Arjen M. <arj...@wl...> - 2004-11-12 08:00:33
|
"Lehmann, Eckhard {TR-I~Penzberg}" wrote:
>
> > This is documented in
> >
> http://plplot.sourceforge.net/docbook-manual/plplot-html-5.3.1/color.htm
> l .
>
> I've read this documentation already and tried to set up the colors
> according to this:
>
> tclsh> package require Plplotter
> tclsh> plframe .f
> tclsh> .f cmd plscol0 0 255 255 255 ;# set color at index 0 to white
> Couldn't parse color 255
> tclsh> .f cmd plscol0 0 {255 255 255} ;# try the same with list
> arguments
> Couldn't parse color 255 255 255
>
> But - Now I found out that one should set the colors by their Tcl names,
> as in
>
> tclsh> .f cmd plscol0 0 white
> ...
>
> This doesn't come out of the documentation, however - and that confused
> me.
>
> Thanks for pointing me to try this out again -
>
> Eckhard ;)
>
Hm, have you tried:
.f cmd plscol0 #f0f000
(the kind of colour codes one normally uses in Tcl, when not using
names)?
Regards,
Arjen
|