humm … what did you try?
You simply need to iterate through your list and call Fill on your histogram …
possibly something likefor(iter = lista.begin(); iter != lista.end(); ++iter) {
histo->Fill(iter->first,iter->second);
}… but I am only guessing at the semantic of your values …
Cheers,
Philippe.
[quote]Now i wanna make a plot . [/quote]There are many ways to represent your data. You should re-read the User’s guide chapter on histogram and graphs. On the two is bound to be the one you are looking for. You can also look at the tutorials in $ROOTSYS/tutorials.