Re: Setting custom colors for a TMarker

From: Ilka Antcheva <Ilka.Antcheva_at_cern.ch>
Date: Fri, 23 Feb 2007 08:17:11 +0100


Hi Nicolas,

I got an error message because of the wrong roottalk e-mail address. I am sending my answer second time with CC: to the right one.

The following code may help:
  Int_t ci; // color index for setting   ci = TColor::GetColor("#ab5466");
  marker->SetMarkerColor(ci);

Cheers, Ilka

Nicolas Busca wrote:
>
> Dear root,
>
> I would like to set the color of a TMarker to and arbitrary RGB color
> combination. How do I do that?
>
> Thanks!
>
> Nicolas
>
>
> ----------------------------------------------
>
> Ils sont fous ces Romaines
>
>
Received on Fri Feb 23 2007 - 08:16:57 CET

This archive was generated by hypermail 2.2.0 : Fri Feb 23 2007 - 17:50:01 CET