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