-
- Downloads
- The problem submitted here:
http://root.cern.ch/phpBB2/viewtopic.php?p=35090#35090 was a side effect of the fix done here: http://root.cern.ch/viewvc?view=rev&revision=25536 Both problems are now fixed. The following macro reproduces the problem submitted in the forum: { TCanvas *can = new TCanvas("can", "",5,48,800,600); can->SetTickx(1); can->SetTicky(1); THStack *hs = new THStack(); TH1 *h = new TH1F("h","h",40,0,200); h->SetBinContent(4,4); hs->Add(h,""); hs->Draw(); TLegend *leg = new TLegend(0.7,0.6,0.99,0.99,NULL,"brNDC"); leg->AddEntry("h","h","F"); leg->Draw(); } git-svn-id: http://root.cern.ch/svn/root/trunk@28088 27541ba8-7e3a-0410-8455-c3a389f83636
Loading
Please register or sign in to comment