Re: 3D ntuple->draw() into a TView

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 11 1999 - 15:33:22 MET


Hi Armin,
I cannot reproduce this problem. What you do seems correct (except draw
-> Draw)

Could you send me a small macro showing the problem ?

Rene Brun

Armin Reichold wrote:
> 
> Hi,
> I have tried, without success to create a 3D ntuple draw that goes into a
> previously
> defined TView and I always get empty plots.
> What I did was this:
> myCanvas = new Canvas("myCanvas","Quill plots",200,0,550,650);
> myCanvas->Divide(1,2);
> myCanvas->cd(2);
> TView *view = new TView(1);
> float range = numberOfCircles*d;
> view->SetRange( -1.0, -1.0, 0, 1000, 1000, 10 );
> ntuple->draw("x:y:z","","same")
> 
> When I leave the "same" option in the draw() the ntuple is correctly drawn
> but not in the view I wanted but in the automatically calculated view that
> spans the whole of the data.
> 
> What now?
> 
> cheers Armin
> 
> *************************************************
> * Dr. Armin Reichold            |  private:     *
> * Research Officer              |  17 Frys Hill *
> * University of Oxford          |  Oxford       *
> * Particle & Nuclear Phys. Lab. |  OX4 5GW      *
> * 1 Keble Road                  |  UK           *
> * Oxford OX1 3RH                                *
> * UK                                            *
> * Room 612                                      *
> *                                               *
> * Tel.  : +44-(0)1865-273358...(office)         *
> * Tel.  : +44-(0)1865-434856...(private)        *
> * Mobile: +44-(0)7930-431102...(emergency only) *
> * Fax.  : +44-(0)1865-273418...(office)         *
> * E-Mail: a.reichold1@physics.ox.ac.uk          *
> * Netmeeting: ppnt67.physics.ox.ac.uk (business)*
> * ---//--- Dir. Server: webnt.physics.ox.ac.uk  *
> *************************************************



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:42 MET