How to draw RooDataSet as histogram in RooFit

Hello,

I’m just wondering how to draw RooDataSet as histogram in RooFit?
Or just do NOT draw error bars for the bins with Zero contents.

Thank you very much.

I think if you change my code around you can get what you’re looking for:

root.cern.ch/phpBB2/viewtopic.ph … 7c56f83af3

But take note of my problem if you want the dataset and stacked histogram on the same plot.

james