*profile = new TProfile("profile","profile",10,0,10);
        profile->SetMarkerSize(2.2);
        profile->Fill(0.5,1);
        profile->Fill(1.5,2);
        profile->Fill(2.5,3);
        profile->Fill(3.5,4);
        profile->Fill(4.5,5);
        profile->Fill(5.5,5);
        profile->Fill(6.5,4);
        profile->Fill(7.5,3);
        profile->Fill(8.5,2);
        profile->Fill(9.5,1);
        c02->cd(1); profile->Draw("HIST TEXT0");
        c02->cd(2); profile->Draw("HIST TEXT0E");
     }
     </pre>
   