Re: [ROOT] How to turn off the graph display in root ?

From: stevenkj (stevenkj@fnal.gov)
Date: Thu Nov 07 2002 - 08:52:24 MET


Hello ,

	This is still proving a bit tricky ! I tried to run Fons shell
script but it didn't produce the eps file (which I convert to a gif
later). I also can't use the -b option or SetBatch either since I use the
canvas to get the eps file.
  c1->Print("eve.eps");
	I've included the two files here (script based on the one Fons
indicated & the C file. Have I done anything wrong here which is causing
the script to work incorrectly ?

				Regards,
				  Kyle.


On Wed, 6 Nov 2002, Fons Rademakers wrote:

> But you need the X11 interface to get gifs. The other solution is to use
> a framebuffer X server. See:
> http://root.cern.ch/root/roottalk/roottalk01/0374.html
>
> Cheers, Fons
>
>
> On Wed, 2002-11-06 at 11:36, Stilianos Kesisoglou wrote:
> > 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.
> > >
> > >
> > >
> --
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
>






This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET