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"); } -- ___________________________________________________________ Bruno Espagnon 15, rue Georges Clemenceau | mail: espagnon@ipno.in2p3.fr 91406 Orsay Cedex (France) | tel : (+33)-(0)1 69 15 71 69 Batiment 100 - Bureau 122 | fax : (+33)-(0)1 69 15 64 70
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET