Re: [ROOT] Axis numbers

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 14 2000 - 14:28:49 MET


Hi Peter,

By default, the font size is computed to keep the aspect ratio.
You can choose a different font precision for the labels, eg
  gStyle->SetLabelFont(60); (hardware fonts)
 see http://root.cern.ch/root/html/TAttText.html

This will provide better (but non scalable fonts) in case
of very small pictures.
However, on NT, the True Type Fonts are always active.

Rene Brun


Phillips, PW (Peter) wrote:
> 
> Hi,
> 
> I have seen similar problems with ROOT for NT version 2.24/05
> (and previous versions).
> 
> If a histogram is drawn with small labels, or in a small pad, it is
> often hard to distinguish between the numbers 50, 60 and 80.
> They all look pretty much the same, I would have said more like
> 60 than anything else.  Increasing the label size, or using the mouse
> to increase the size of the pad, the correct numbers are seen.  This
> would indeed seem to point towards some kind of problem with the
> interpretation of fonts under Windows NT.
> 
> In practice this isn't a big issue as long as the user is aware of the
> problem, but it would be nice if it went away!!
> 
> Cheers,
> 
> P.
> 
> Peter W Phillips
> Particle Physics Department
> CLRC Rutherford Appleton Laboratory
> Chilton, Didcot, Oxon., UK, 0X11 0QX
> 
> Fax:    (+44) 1235 44 6733
> Tel:    (+44) 1235 44 5218 office, 5799 or 5149 labs
> Web:    http://hepwww.rl.ac.uk/atlas-sct
> 
> > -----Original Message-----
> > From: Rene Brun [mailto:Rene.Brun@cern.ch]
> > Sent: 14 November 2000 07:57
> > To: kamps
> > Cc: roottalk@pcroot.cern.ch
> > Subject: Re: [ROOT] Axis numbers
> >
> >
> > Hi Marc,
> > I repeat that I cannot reproduce your problem. I cannot
> > understand your
> > description of the problem with the axis numbers. You are creating two
> > histograms with the same binning, you get the same bin labels
> > on the two plots.
> >
> > Can anybody else reproduces Marc's problem ?
> > try using the macro below.
> >
> > Rene Brun
> 
> (deleted)



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET