RE: [ROOT] canvas created but not drawn ...

From: Valeri Fine (fine@bnl.gov)
Date: Fri Apr 11 2003 - 18:37:16 MEST


Hello
 I think it is possible if your built-in ROOT is in the "batch" mode.
 Can you check this?
  Valeri

> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]
> On Behalf Of Jacek M. Holeczek
> Sent: Friday, April 11, 2003 12:28 PM
> To: Rene Brun
> Cc: RootTalk
> Subject: Re: [ROOT] canvas created but not drawn ...
> 
> > Did you draw something in the canvas?
> 
> The point is - there is NOTHING drawn, even the canvas itself.
> I mean, the "new TCanvas(...)" doesn't draw anything.
> And later the "c->Draw()" doesn't draw anything.
> 
> > Could you add the statement
> >   c->Saveas("mycancas.root");
> 
> Well, the "mycancas.root" looks perfectly fine.
> Is it possible that because I link my Geant4 application with root
> libraries (and not opposite) something important doesn't get
initialized ?
> 
> > Note that the statement c->Draw() is redundant when called in the
> session
> > where the canvas has been created.
> 
> I need (from time to time) to "c->Draw(); c->Update();" in order to
> "refresh" the canvas.
> 
> Thanks in advance,
> Jacek.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET