Re: second axis labels right side

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Dec 09 1999 - 23:26:55 MET


Hi Michael,
The functionality is here but the doc not obvious to find, I agree.
Histogram axis are drawn by THistPainter::PaintAxis. The doc says:
//*-*-*-*-*-*-*-*-*-*-*-*Draw axis of an histogram*-*-*-*-*--*
//*-*                    =========================
//
//   Assume tx = gPad->GetTickx() and ty = gPad->GetTicky()
//   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)
//    tx = 2;   tick marks and labels on top side are drawn
//    ty = 1;   tick marks on right side are drawn (inside)
//    ty = 2;   tick marks and labels on right side are drawn
//       Use TPad::SetTicks(tx,ty) to set these options

Rene Brun


On Thu, 9 Dec 1999, Michael Wiesmann wrote:

> Hello rooters!
> 
> just a very small question about some cosmetics on histogramms.
> I was again unlucky in finding what I was looking for in the manuals.
> Is there a possiblity to persuade root to draw axis labels also on the
> second (parallel) axis?
> (Up to now I was not able to undetstand what the possible values for
> "Option_t" are ...)
> 
> Thanks,
> Michael
> 



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