Hi,
but values is the vector?
regards,
MC
2006/5/3, Axel Naumann <Axel.Naumann_at_cern.ch>:
> Hi,
>
> a vector's elements have to be consecutive in memory; you can convert
>
> std::vector<Double_t> values;
> Double_t* pValues = &(values[0]);
>
> and pass that pValues to the TGraphErrors constructor.
> Cheers, Axel.
>
Received on Wed May 03 2006 - 15:09:21 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET