Re: How to draw circle

From: Manoj Kumar Jha <Manoj.Jha_at_cern.ch>
Date: Tue, 11 Jan 2005 21:57:56 +0530


Hi Oliver,
  Thanks for mail. I tried the following script. But, the figure looks like ellipse. Should I assume it is a circle ? I am attaching the script as well as the figure . Please let me know.

With regards,
manoj

On Tue, 2005-01-11 at 21:39, Olivier Couet wrote:
> 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
> >

-- 
***************************************************
Manoj Kumar Jha 
Research Scholar
Department of Physics & Astrophysics
University of Delhi | Delhi - 110 007 | India
Phone : 91-11-27667036(O) 
E-mail: Manoj.Jha_at_cern.ch
***************************************************

  • application/postscript attachment: figure.ps
  • application/postscript attachment: figure.ps
Received on Tue Jan 11 2005 - 17:19:31 MET

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