Re: graphical bug with TF1 in root ?

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Mon, 12 Dec 2011 17:27:59 +0000


Now fixed in the SVN trunk.
Cheers,
oc

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

> Hello,
>
> 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");
> }
>
> using :
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 5.30/00 27 June 2011 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> ROOT 5.30/00 (tags/v5-30-00_at_40062, Aug 12 2011, 16:25:34 on linuxx8664gcc)
>
> CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
> <test.png>
Received on Mon Dec 12 2011 - 18:28:04 CET

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