FAQ Answerpage
QUESTION:
How to book a 2-D histogram or scatter plot.
ANSWER:
To book a 2-D histo, use the following command:
nameHist = manager->histogram(string, nBins, lowEdge, highEdge, nBins2, lowEdge2, highEdge2);
To fill it, use the command:
nameHist->accumulate2( x, y );
This is the obvious generalisation of the 1-D case.
(Last updated 7/29/98)
[ SLAC Homepage] [Search] [FAQ Homepage]
If you have a FAQ (with or WITHOUT an answer), use our prototype submission form.
If you have comments or suggestions, email me at sison@slac.stanford.edu
|