Hi Arno, You have a couple of solutions. The most radical is to set your ROOT session in batch mode (root -b) which will prevent any graphic to appear. The other solution is to use the option '0'(the number zero) to skip just the drawing of the fit function: myhist->Fit(myfunc,"0"); Cheers, Philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Arno Heister Sent: Thursday, October 18, 2001 2:45 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] How to supress default canvas while fitting histograms ? Hi ! I'm fitting several histograms in a compiled program wich runs outside cint ... everytime the fitting starts the default c1 canvas opens (with nothing in!) . Is it possible to avoid this ? I do not want to have any windows open by this program ... Cheers, Arno.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET