Re: [ROOT] lego - rotate

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Mon Nov 13 2000 - 14:14:59 MET


On Mon, 13 Nov 2000, Jan Malinowski wrote:

> Hi rooters,
> I make 2D histogram and draw them by
> 
>   he0esec->DrawCopy("SURF1FB");
> 
> command.
> How may I rotate my figure around Z axis at some angle?

Two possibilities:

- keep left mouse pressed in the picture and move
  until you get required viewing angle

- set viewing angle theta and phi by:
  gPad->SetTheta(theta); // default is 30
  gPad->SetPhi(phi); // default is 30
  gPad->Update();

Cheers
Otto
-----------------------------------------------------------------------
Dr. Otto Schaile            Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
GSM:   +49 171 4312031
FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET