Re: [ROOT] Filled histogram problem

From: Michael Groys (michaelg@alzt.tau.ac.il)
Date: Mon Aug 25 2003 - 16:13:45 MEST


Thank you all for your responces.
Actually call to gPad->RedrawAxis() helps with
histograms but doesn't work with function.
the call my_function.Draw("axis,same") as Stanislav
said does work for both.
In any case I think this is incorrect behavior

Thanks a lot,
    Michael

Stanislav Nesterov wrote:

> Hi Michael,
>
> You can try to draw axis over the pictrue, i.e. use options "AXIS,SAME":
>
>    hist0->Draw();   // first - draw the histogram
>    hist1->Draw("same"); // draw another histogram
>    hist0->Draw("axis,same"); // <- draw only axes
>
>                      Best regards,
>                                     Stanislav.
>
> Michael Groys wrote:
>
>> Hello all.
>> There is strange feature in the root (3.05/05):
>> When I draw one filled histogram within another the ticks on the x/y 
>> axis
>> disappear.  You can see this while running example script - 'ntuple1.C'
>> What can be done to avoid this problem
>> Thanks in advance
>>    Michael
>
>
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET