Skip to content
Snippets Groups Projects
Commit e5dff6b9 authored by Olivier Couet's avatar Olivier Couet
Browse files

Fix the bug described here:

https://savannah.cern.ch/bugs/?89778


git-svn-id: http://root.cern.ch/svn/root/trunk@42471 27541ba8-7e3a-0410-8455-c3a389f83636
parent 81a583d8
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,22 @@ When 1D histograms are painted with the options TEXT and BAR simultaneously, the ...@@ -10,6 +10,22 @@ When 1D histograms are painted with the options TEXT and BAR simultaneously, the
each bin is placed taking into account the bar offset and bar width attributes. Previously, each bin is placed taking into account the bar offset and bar width attributes. Previously,
when several histogram were drawn that way, the texts overlapped. when several histogram were drawn that way, the texts overlapped.
</li> </li>
<li>
When a </tt>TF1</tt> was clipped vertically, horizotal lines appeared at the maximum and minimum
when the function was draw with a line width greater than 1.
The follwoing macro reproduces the problem:
<pre>
{
TCanvas *c1=new TCanvas("c1", "A canvas", 10,0, 800, 600);
c1->SetLogy();
histo_dummy=c1->DrawFrame(0,1e-4,27,10);
TF1 gaussian_func("gaussian_func","gaus",0,25.4);
gaussian_func.SetLineColor(kRed);
gaussian_func.SetParameters(1e-2,10,3);
gaussian_func.Draw("same");
}
</pre>
</li>
</ul> </ul>
<h3>TH1</h3> <h3>TH1</h3>
...@@ -18,4 +34,4 @@ when several histogram were drawn that way, the texts overlapped. ...@@ -18,4 +34,4 @@ when several histogram were drawn that way, the texts overlapped.
A canvas saved in a <tt>.C</tt> file generated wrong code if it contained A canvas saved in a <tt>.C</tt> file generated wrong code if it contained
an histogram drawn with the option <tt>COLZ</tt>. an histogram drawn with the option <tt>COLZ</tt>.
</li> </li>
</ul> </ul>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment