> What's the root equivlent to the nt/fill command?
There is the method:
TTree::Fill()
see: http://root.cern.ch/root/htmldoc/TTree.html#TTree:Fill
However I am not sure I did get your question.
What did you call "nt/fill" ?
PAW says:
PAW > nt/fill
*** Unknown command: nt/fill
PAW >
> Or, if I do a
> tree->Draw("x:y>>myplot");
>
> Is there a way of defining the axis of myplot?
>
"myplot" is your 2d histogram:
http://root.cern.ch/root/htmldoc/TH2.html
The last os derived from
http://root.cern.ch/root/htmldoc/TH1.html
and inherits TH1 properties as well.
The method
http://root.cern.ch/root/htmldoc/TH1.html#TH1:SetMaximum
can be used to define z-scale with 2d hisrogram .
x and y scales are defined by "myplot" TH2F class constructor.
> Cheers. Steve.
>
>
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET