Re: [ROOT] How to use canvas without graphic output?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Apr 02 2003 - 22:17:17 MEST


For more on this issue see:

http://root.cern.ch/root/roottalk/roottalk01/0383.html

Cheers, Fons.



On Wed, 2003-04-02 at 20:33, Marek Wieczorek wrote:
> Hi,
> 
> I wrote a program (compiled, not interpreted) which generates graphic
> files (gifs), using the TCanvas class.
> 
> ...
> canvas = new TCanvas();
> (...)
> canvas->cd();
> (...)
> canvas->Print(gif_path);
> ...
> 
> I have troubles in running my program in text mode, because every time I
> try to execute it, it has to have access to graphic output.
> Is there any solution to make my program executable from the text-only
> terminal?
> 
> best regards
> Marek
-- 
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 : Thu Jan 01 2004 - 17:50:10 MET