Re: ROOT's graphics

Rene Brun (Rene.Brun@cern.ch)
Tue, 18 Mar 1997 13:00:20 +0100


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)

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

Rene Brun