Re: How to draw circle

From: Olivier Couet <couet_at_mail.cern.ch>
Date: Tue, 11 Jan 2005 17:09:34 +0100 (CET)

Try:

{

   c1 = new TCanvas("c1","c1",0,0,500,500);    c1->Range(0,0,1,1);
   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();
}

Olivier

On Tue, 11 Jan 2005, Manoj Kumar Jha wrote:

> Dear rooters,
> I am trying to draw a circle using the attached script. But, I am
> getting an ellipse (the figure is attached). Could you please let me
> know where I am committing the mistake ?
>
> Thanks,
> manoj
>

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet_at_cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155
Received on Tue Jan 11 2005 - 17:09:38 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET