Just a stupid question I hope… I’d like to plot a histogram out of its range (e.g. with 2 extra bins, one on the far left, one on the far right). But I cannot figure out how to do it. I’ve tried several functions (SetRange(), SetRangeUser(), SetLimits()) in vain. The Set() method does approximately what I want but of course shifts everything (see code below). Could anyone gimme a hand ?
Yeah, but then I have to draw extra lines to ‘close’ the histogram and so I need to get the two histogram ends relative coordinates.
How can I do that ? What are the other possible ways ?
Thanks in advance,
Zesp
I get the same too. But without the 2 following lines:
h1->SetFillColor(20.) ;
h1->SetLineColor(0.) ;
I get the previous figure, namely a plain histogram with no boundaries. And what I’d like to have is the same plain histogram WITH boundaries (i.e. with the 2 red dashed lines on the side).
That’s what I’m doing actually but I thought there had to be a nicer to do so (with some SetRange() like functions). Never mind! Thanks for your help. Best Regards, Zesp