Hi Kyle,
Just use:
gROOT->SetBatch(kTRUE);
and everything works the same way but the canvas is suppressed
and doesn't open any X-Window
Stelios.
----- Original Message -----
From: "stevenkj" <stevenkj@fnal.gov>
To: <roottalk@pcroot.cern.ch>
Sent: Wednesday, November 06, 2002 4:14 AM
Subject: [ROOT] How to turn off the graph display in root ?
> Hello ,
>
> Bit of an unusual question this one. I have a macro which is being
> run as part of an online monitoring program at D0 & displays a graph &
> converts it to a gif file. I basically want to run
> this in the background without the graph appearing in an x-window (as
> usually happens). Is there anyway to turn off the graph display ? (since
> I just save the histogram to a gif file , which is displayed by a python
> interface I don't really need it anyway),
>
> Regards,
> Kyle Stevenson.
>
>
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET