Thank you Rene. It works.
Regards
Monika
Rene Brun wrote:
> Hi Monika,
>
> Try, for example:
>
> h->DrawCopy();
> h->SetFillColor(2);
> h->SetFillStyle(3002);
> h->GetXaxis()->SetRange(30,60);
> h->Draw("same");
>
> Rene Brun
>
> Monika Sharma wrote:
>
>> Hello Rooters,
>>
>> I have a 1D histogram of, say for example z vertex (+,- 60 cm).
>> However, in my analysis I only use +- 30 cm.
>> So I want to color only that range in my histogram to show the
>> z vertex range used in the analysis. Can anyone help me how to do it?
>>
>> Thanks very much in advance.
>>
>> Regards
>> Monika
>
Received on Sat Jul 14 2007 - 00:05:50 CEST
This archive was generated by hypermail 2.2.0 : Sat Jul 14 2007 - 11:50:01 CEST