Re: Isotropic detector views

Rene Brun (Rene.Brun@cern.ch)
Wed, 03 Dec 1997 09:24:51 +0100


William J. Deninger wrote:

> Hello again,
>
> I've made some wonderful detector geometry views using ROOT which will help
> pad my physics thesis. For this, I need to say thank you again. I do
> however have one question concerning views which I haven't been able to
> resolve on my own.
>
> When I create a TGeometry and draw it to a TCanvas, the view seems to be
> anisotropic. That is, when I resize the window TShapes are stretched with
> the frame dimensions. In order to get a view which isn't severely distorted,
> my canvas needs to be very tall and narrow. Are there any remedies for
> this?
>
> I'm running ROOT 1.03/05 on a WinNT 3.0 Service Pack 3 Pentium Pro.
>
> William J Deninger
> deninger@uiuc.edu

In addition to the answer by Valery, I want to mention that version 1.03/08
includes a fix in the geometry drawing system. You do not need anymore
to click in the pad to get the picture at the right scale.

Rene Brun