Hi Manoj,
Yours it's a circle.
I agree with Oliver and Rene,
Tom
P.S. Ubi major, minor cessat.
Rene Brun wrote:
>see your example modified below
>
>Rene Brun
>
>
>{
> gROOT->Reset();
> c1 = new TCanvas("c1");
> //compute the pad range to get a fix aspect ratio
> Double_t w = gPad->GetWw()*gPad->GetAbsWNDC();
> Double_t h = gPad->GetWh()*gPad->GetAbsHNDC();
> Double_t xmin = 0;
> Double_t xmax = 2;
> Double_t ymin = 0;
> Double_t ymax = xmax*h/w;
> c1->SetFixedAspectRatio();
> c1->Range(xmin,ymin,xmax,ymax);
> TPaveLabel pel(0.1,0.8,0.9,0.95,"Examples of Circle");
> pel.SetFillColor(42);
> pel.Draw();
> TEllipse el1(0.5,0.5,.2,.2);
> el1.Draw();
>}
>
>
>
Received on Tue Jan 11 2005 - 17:48:41 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET