Re: Histogram y-axis on both x-sides

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Oct 14 1998 - 15:20:09 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET