Re: ROOT's graphics

Fons Rademakers (Fons.Rademakers@cern.ch)
Tue, 18 Mar 1997 14:30:01 +0100


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