I’m afraid I’m still quite a ROOT beginner. My question is:
How can you force the xrange to run from 0->X and how can you make the yrange logarithmic…
*BUT more importantly my question is: Could anyone teach me how to use the ROOT documentation so that I could answer these questions myself. Keep in mind I’m a ROOT beginner.
In ROOT in general the canvas/pad scale is automatically computed from the
object itself: graph, histogram, function.
For example
TH1F *h1 = new TH1F("h1","test",100,-3,3);
h1->FillRandom("gaus",5000);
h1->Draw();
If you want to do something special with the pad (log x,y scale, etc),
you can do something like
TCanvas *c1 = new TCanvas;
c1->SetLogy();
TH1F *h1 = new TH1F("h1","test",100,-3,3);
h1->FillRandom("gaus",5000);
h1->SetMinimum(1);
h1->Draw();
[quote]2. *BUT more importantly my question is: Could anyone teach me how to use the ROOT documentation so that I could answer these questions myself. Keep in mind I’m a ROOT beginner.
[/quote]
I strongly suggest to read the first 2 or 3 chapters of the Users Guide
and get some experince by running the tutorials, eg
$ROOTSYs/tutorials/hist, graphs, graphics