RE: Figure is invisible when using 'bar chart' option

From: Mark Pollack (markp@bnl.gov)
Date: Mon Nov 30 1998 - 21:24:48 MET


Dear Xie,


http://www.phenix.bnl.gov/~markp/root/using.htm has a small listing of
colors and some names you can use instead of the color number.

- Mark



-----Original Message-----
From:	owner-roottalk@hpsalo.CERN.CH [mailto:owner-roottalk@hpsalo.CERN.CH]
On Behalf Of Wei Xie
Sent:	Monday, November 30, 1998 5:10 AM
To:	Rene Brun
Cc:	roottalk@hpsalo.CERN.CH
Subject:	Re: Figure is invisible when using 'bar chart' option


Dear Rene,

I falled into a mud pit just now. The terminal is a black and white and I
choose red bar color. It become 'invisible' then. When I show it in a
colored terminal, it works.

I still can not manipulate the color freely in a macro since I do not
know which color number corresponds to which color. Is there such a
corresponding list somewhere ?

Have you read my last message about the malfunction of 'TGTab' ? What
could be the problem ?

Sincerely , Xie





> > In file 'hsimple.C' at turtorial directory, when I add in Draw() a
> > 'bar chart' option like followed, the figure becomes invisible.
> >             ..........
> >            hpx->Draw("b");
> >            hpx->SetBarOffset(0.25);
> >            hpx->SetBarWidth(0.5);
> >             .........
> >
> > Sincerely, Xie
>
> I cannot reproduce this problem.
> Please send me the exact macro you are using.
>
> Rene Brun
>



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET