Salut Bernard,
SetBinContent et SetBinError should help you
see TH1 class documentation.
seb.
On Thu, 20 Nov 2003, Bernard Andrieu wrote:
> Hello,
>
> what is the simplest way of filling an existing 1d-histogram with the values of
> two vectors, one for the contents, one for the errors?
>
> In other words, I'm looking for a root equivalent to PAW commands put/contents
> and put/errors.
>
> Thanks for help.
> --
> Best regards,
> Bernard Andrieu
> -----------------------------------------------------------------------
> ("-/")_.-'"-._
> LPNHE, 4 pl. Jussieu . . ; -._ )-;-,_) email: andrieu@in2p3.fr
> Tour 33, RdC (v_,)' _ )-.\ -' Tel: +33 (0)1 4427 2321
> 75252 PARIS CEDEX 05 _.- _..-_/ / ((.' Fax: +33 (0)1 4427 4638
> ((,.-' ((,/
> -----------------------------------------------------------------------
>
>
---------------------------------------------------------------------
| Sebastien GREDER tel : +33 (0)3 88 10 63 54 |
| D0 Strasbourg, |
| Institut de Recherches Subatomiques fax : +33 (0)3 88 10 62 34 |
| 23, rue du loess - BP 28 secr : +33 (0)3 88 10 66 40 |
| F-67037- STRASBOURG cedex 2 e-mail : greder@in2p3.fr, |
| greder@fnal.gov |
---------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET