Re: graphical bug with TF1 in root ?

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 12 Dec 2011 07:58:10 +0000

I have open a bug report with this.
see:
https://savannah.cern.ch/bugs/index.php?89778

On Dec 10, 2011, at 6:51 PM, Marc Escalier wrote:

doing a draw of a basic TF1, i occur a graphical bug of the function that appears as horizontal on the bottom of the canvas ?

(attached picture)

is there a way to prevent this (without changing the line color nor width)

thanks

here is the minimal example :

{
 TCanvas *c1=new TCanvas("c1", "A canvas", 10,0, 800, 600);  c1->SetLogy();
 histo_dummy=c1->DrawFrame(0,1e-4,27,10);

 TF1 gaussian_func("gaussian_func","gaus",0,25.4);

 gaussian_func.SetLineColor(kRed);
 gaussian_func.SetParameters(1e-2,10,3);
 gaussian_func.Draw("same");

 c1->RedrawAxis();
 c1->SaveAs("test.png");
} Received on Mon Dec 12 2011 - 08:58:15 CET

This archive was generated by hypermail 2.2.0 : Mon Dec 12 2011 - 11:50:01 CET