ROOT's graphics

Sergei Gerassimov (ges@vsnhdd.cern.ch)
Tue, 18 Mar 1997 12:52:17 +0100 (CET)


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)