(no subject)

Pasha Murat (murat@cdfsga.fnal.gov)
Mon, 17 May 1999 15:35:46 -0500 (CDT)


Ruben Shahoian writes:

> root [0] TPaveLabel hello(0.,0.,0.,0.,"Hello World");
> root [1] hello.Draw();
> Warning in <MakeDefCanvas>: creating a default canvas with name c1
>
> *** Break *** segmentation violation
>

Hi Ruben,
first 4 parameters are (xmin,ymin) (xmax,ymax) of the label in
the coordinate system of the canvas the label is drawn on. Try this:

>TPaveLabel hello(0.,0.,9.,0.9,"Hello World");
>hello.Draw();

and the rest should become clear to you,
-pasha