Re: Histogram y-axis on both x-sides

Rene Brun (Rene.Brun@cern.ch)
Wed, 14 Oct 1998 15:20:09 +0200


Laurent Aphecetche wrote:
>
> Hi,
>
> Is it possible to have to y-axis of an histogram on both sides (left and right)
> of the histo ?
>

You can draw additional tick marks via TPad::SetTicks(int tx, int ty)

By default only the left Y axis and X bottom axis are drawn (tx=ty= 0)
tx = 1 ; tick marks on top side are drawn (inside)
ty = 1; tick marks on right side are drawn (inside)

I have implemented the additional options in my dev version:
tx = 2; tick marks and labels on top side are drawn
ty = 2; tick marks and labels on right side are drawn

Rene Brun