Re: Setting custom colors for a TMarker

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


Hi Nicolas,

The following code may help:

   Int_t ci; // color index 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:12:55 CET

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