Re: setting display limits to tgraph

Rene Brun (Rene.Brun@cern.ch)
Wed, 13 Aug 1997 10:25:26 +0200


Roland Walter wrote:
>
> Good morning,
>
> When I display a portion of a TGraph (selected with SetMaximum/SetMinimum
> and SetBins), the curve is not clipped within the axis but only within
> the Pad.
>
> Not that the same done using TH rather than TGraph is correctly clipped
> within the axis.
>
> How could I display a portion of a TGraph clipped within the axis ?
>

Clipping in the axis range is not possible with version 1.02.
I have implemented this possibility in the development version.
The TGraph class has two new functions SetMinimum and SetMaximum.
We will install the development version 1.03 end of next week.

Rene Brun