f3->cd(); // "switch" to "f3" for writing
h3->Write();
h4->Write();
h5->Write();
delete f3; // automatically deletes all histograms which it "owns"
Thanks Pepe,
Ok. the hb_all histogram have been written. But there is no colour, that is, all of bins in hb_all are shown as default option for colours. What is it matter ?
Cheers,
Ersel
OK everything is well done.