Marginalized posterior plots

Hi ROOTers,

I have a dataset, namely x, y and errors on y , which I put in a TGaphErrors object and fit with a function having 2 parameters. Is there a simple way to obtain the marginalized posterior distributions for each parameter (using RooFit/RooStats) ? Can anyone give some hints?

Manuel