Re: ROOT's graphics

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Mar 18 1997 - 14:30:01 MET


Hi Sergei,

   I explained how to do what you want in article:

http://root.cern.ch/root/roottalk/0111.html

Cheers, Fons.

Sergei Gerassimov wrote:
> 
> Dear ROOTers,
> 
> I'm wondering why this simple program does nothing
> (No error messages. Just nothing)
> 
> #include "TROOT.h"
> #include "TCanvas.h"
> 
> main(int argc, char **argv)
> {
>   TROOT mytst("mytst","Canvas' window");
>   TCanvas *c1 = new TCanvas("c1","Just a test");
>   c1->Draw();
> }
> 
> Is it possible at all to use ROOT graphics _not_ from interactive session?
> 
> Thanks,
>    Sergei
> 
> PS: (Histogram/ntuple filling/writing works fine. It's v0.9.OSF1.V3.2)

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7822601



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