Hello,
This problem is now fixed in the CVS head. Thanks to have reported it.
Cheers, Olivier
On Fri, 4 Feb 2005, Tancredi Carli wrote:
>
> Hello,
>
> I have a problem to work with option E2 in TGraphAsymmErrors.
> It works fine, if I plot directly the Graph, but not when I
> plot it in a predefined frame.
>
> Can somebody help ?
>
> here is my test.C
>
> void test()
> {
>
> TCanvas *c1= new TCanvas();
> TH1F *h1 = c1->DrawFrame(0.,-10.,10.,12.);
> c1->Divide(2,2);
>
> TGraphAsymmErrors* g1= new TGraphAsymmErrors();
>
> for (Int_t i=0; i<10; i++) {
>
> g1->SetPoint(i,i+0.5,1.);
> g1->SetPointError(i,0.25,0.25,i*1.1,i*1.1);
>
> }
>
> c1->cd(1);
> g1->SetFillColor(2);
> g1->Draw("Ae2");
>
>
> c1->cd(2);
> h1->Draw();
> g1->Draw("e2");
>
> c1->cd(3);
> h1->Draw();
> g1->Draw("e3");
>
> c1->cd(4);
> h1->Draw();
> g1->Draw("e4");
>
> }
>
>
-- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet_at_cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7670300Received on Mon Feb 07 2005 - 15:37:56 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET