Re: bug report

From: Stephen Adler (adler@ssadler.phy.bnl.gov)
Date: Mon Apr 05 1999 - 18:20:42 MEST


Thanks, the problem seems to have misteriously disapeard..... Uggg....
I can't reproduce it anymore...

Cheers.

Steve.
On Apr 5,  9:18am, Urs Langenegger wrote:
> Subject: Re: bug report
>
> first try was with
>
>   // Jitter plots
>   #include <iostream.h>
>
>   void jitter()
>   {
>
>     Float_t x[8] = {24.81,125.9,226.9,328.,429.1,1035.0,2046.,4067.};
>     Float_t y[8] = {1.65, 37.96, 54.90, 69.21, 101.0, 164.80, 213.70,
> 		    350.60};
>     // Comment out the above line and uncomment the line below
>     // and it works fine!
>     // Float_t y[8] = {1.65, 37.96, 54.90, 69.21, 101.0, 164.80,
213.70,350.60};
>     Float_t ptp[8] = {12.0, 272.0, 349.0, 564.0, 700.0, 1084.0,
1592.0,2190.0};
>
>     Int_t n = 8,i;
>
>     for(i=0;i<n;i++) cout << i << " " << x[i] << " " << y[i] << endl;
>     gr = new TGraph(n,x,y);
>     gr->SetLineColor(2);
>     gr->SetLineWidth(3);
>     gr->SetMarkerColor(4);
>     gr->SetMarkerStyle(21);
>     gr->Draw("ALP");
>
>   }
>
>
> and the second with
>
>   // Jitter plots
>   #include <iostream.h>
>
>   void jitter()
>   {
>
>     Float_t x[8] = {24.81,125.9,226.9,328.,429.1,1035.0,2046.,4067.};
>   //   Float_t y[8] = {1.65, 37.96, 54.90, 69.21, 101.0, 164.80, 213.70,
>   //                   350.60};
>     // Comment out the above line and uncomment the line below
>     // and it works fine!
>     Float_t y[8] = {1.65, 37.96, 54.90, 69.21, 101.0, 164.80, 213.70,350.60};
>     Float_t ptp[8] = {12.0, 272.0, 349.0, 564.0, 700.0, 1084.0,
1592.0,2190.0};
>
>     Int_t n = 8,i;
>
>     for(i=0;i<n;i++) cout << i << " " << x[i] << " " << y[i] << endl;
>     gr = new TGraph(n,x,y);
>     gr->SetLineColor(2);
>     gr->SetLineWidth(3);
>     gr->SetMarkerColor(4);
>     gr->SetMarkerStyle(21);
>     gr->Draw("ALP");
>
>   }
>
>
> and the result seemed top be the same, a rising curve.
>
> Cheers,
> --U.
>-- End of excerpt from Urs Langenegger



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET