Re: [ROOT] problem with PolyMarker

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 03 2003 - 08:40:03 MEST


Hi Bruno,

I already replied to you on August 20 at 17h57.

This problem had been fixed in version 3.10/00

Rene Brun

On Tue, 2 Sep 2003, 
espagnon wrote:

> Hi Rooters,
> 
> I'm working with ROOT 3.05/02 and I have a little probleme with
> PolyMarkers as the following macro test.C can show it. If I execute
> test.C and I do a zoom with the mouse on the Y axis or if I suppress the
> comment before distrib2->SetMinimum(0.7) I have a line of polymarker
> which appears on the x axis. Is anybody knows a solution ?
> 
> Regards 
> 
> Bruno
> 
> void test()
> {
>   TH1F *distrib2 = new TH1F("distrib2","RMS mean vs temperature
> (channels > 16)",350,15.,50.);
>      //  moyenne sur les differentes mesures ā une t°
>     distrib2->SetBinContent(50,0.9477); // 20 °C
>     distrib2->SetBinContent(150,0.956); // 30 °C
>     distrib2->SetBinContent(250,0.9591); // 40 °C
>     distrib2->SetBinContent(300,0.9659); // 45 °C
> 
>     distrib2->Fit("pol1","","",19.,46.);      
> distrib2->SetXTitle("#circ C");     distrib2->SetYTitle("ADC channel");
> // 
> 
>     gStyle->SetOptFit(11111);
>     gStyle->SetStatY(0.5);
> 
>     distrib2->SetMarkerStyle(29);  distrib2->SetMarkerColor(4);
> distrib2->SetMarkerSize(1.5);  new TCanvas("a2"); 
> a2->SetFillColor(10);  distrib2->Draw("p");
> 
> } 
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET