Hi Rene,
thanks for introducing the fix. I do not know if you have already introduced
a fix for for kClipFrame in default TGraph() constructor. It was missing in
2.23/12 version. Is it there in the latest version?
Regards,
Anton
-----Original Message-----
From: Rene Brun [mailto:brun@pcbrun.cern.ch]
Sent: Saturday, March 04, 2000 4:01 PM
To: Anton Fokin
Cc: Rene Brun; roottalk@pcroot.cern.ch
Subject: Re: Bug in TGraph::Draw("B")
Hi Anton,
Thanks for reporting with clipping problem with the option "bar"
I have introduced the fix in my development version.
Note that a TGraph object is always clipped at the frame boundary.
You do not need to set the kClipFrame bit.
Rene Brun
On Sat, 4 Mar 2000, Anton Fokin wrote:
> Hi!
>
> There is a clipping bug in TGraph painted with Bar option. Run a macro
below
> and try to zoom X or Y.
>
> Note that kClipFrame is forced to be kTRUE and it works fine with "L"
> option.
>
> {
> gROOT->Reset();
>
> TH2F *Hist = new TH2F("mumu","mumu",100,0,100,100,0,100);
> Hist->Draw();
>
> TGraph *Graph = new TGraph();
> Graph->SetBit(TGraph::kClipFrame,kTRUE);
>
> for(Int_t i=0;i<100;i++)
> Graph->SetPoint(i,i,i);
>
> Graph->SetFillColor(kBlue);
> Graph->Draw("B");
> }
>
> Best regards,
> Anton
>
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET