Hi FengRong
can you send me the ps file of the plot which you have drawn. I just want to compare this result with mine.
regards
irfan
-----Original Message-----
From: Zhu FengRong [mailto:zhufr_at_mail.ihep.ac.cn]
Sent: Thu 10/12/2006 12:42 PM
To: Muhammad Asghar; roottalk_at_pcroot.cern.ch
Subject:  Re: [ROOT] About a formula
 
Hi Muhammad,
         It runs OK in my SLC systerm like attached figure.
On Thu, 12 Oct 2006 10:40:30 +0200, Muhammad Asghar wrote
> Hi Rene
> 
> I am trying to plot a formula which is
> 
> S = 3/2 * [ 0.703 * (Sin(x)/1.414)^2 + 0.297 * ((1-Cos(x))/2)^2  + 
> ((1+Cos(x))/2)^2 ].
> 
> I  have tried to use the
> 
> root[]TF1 f1("polarization","(3/2)*(0.703*(sin(x)/(1.414)^2))+(3/2)
> *(0.297*((((1-cos(x))/2)^2)))+(3/2)*(((1+cos(x))/2)^2)",-1,1);
> 
> root[] f1->Draw();
> 
> The final limit   -1 and 1    are related to Cos(x).
> 
> When I Draw this function it does not gives the exact result. I have 
> attached the exact result in the attached file with the name "picture1"
> 
> please check is whether it is implemented correctly or there is some 
> mistake.
> 
> regards
> Irfan
with best wishes, 
Fengrong Zhu 
Institute of High Energy Physics, 
C.A.S P.R.C 
zhufr_at_ihep.ac.cn  
--  
Open WebMail Project (http://openwebmail.org)
Received on Thu Oct 12 2006 - 14:05:59 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET