Frequently Asked Questions
Please have a look at this list before asking for help on the ROOT forum.
- Why fill patterns and hatches disappear in PostScript output ?
- Subversion can not connect to server
- How to use ROOT libraries in Xcode on Mac OS X?
- How to check is a file is already open ?
- Changing the Displayed Title in Canvas.
- How to change the automatic plot title produced when a tree is drawn ?
- How to draw several TGraph in one common axis system ?
- How do I start PROOF?
- Some or all windows don't get displayed when ROOT is running on a remote computer.
See the WARNING section at the end of this page.
Try adding the line:
http-library=serfto
~/.subversion/servers The easiest way is to use cmake and let it create the Xcode project, this has the advantage that the dictionaries are created automatically. With the two files CMakefile.txt, and FindROOT.cmake which set the ROOT needed variables, one can compile and link ones own code. An example from the ROOT Event example (found in root/test) is attached. Just un-tar the attached file and run:
cmake -G Xcode ./
This will create an Xcode project Event.xcodeproj which can be opened and used by Xcode.
if (gROOT->GetListOfFiles()->FindObject(filename) ) { // do not open the file } else { // open the file }
Disable the title and add yourself your own title with a TPaveLabel:
gStyle->SetOptTitle(0); TPaveLabel *title = new TPaveLabel(.11,.95,.35,.99,"new title","brndc"); title->Draw();
It is enough to change the title of the histogram htemp:
tree.Draw("x:y"); htemp.SetTitle("New Title");
Use TMultiGraph.
Type at the ROOT prompt:
root [0] TProof::Open("")You probably used ssh to connect to the remote computer. You need to specify the option "-Y" which turns on trusted X11 forwarding.