[ROOT] How to move the stat box

From: Michael Wiesmann (wiesmann@e18.physik.tu-muenchen.de)
Date: Tue Sep 09 2003 - 18:59:37 MEST


Gunasingha Rathnayaka writes:
 > 
 > Hi,
 > 	I need to know the command to move the stat box for certain
 > position in the picture. Usually, when I draw the histo the stat box comes
 > just above the right hand corner. Then I tried
 > 
 >  gStyle->SetStatX(44)
 >  gStyle->SetStatY(8.3)
 >  
 >  where x=44 and y=8.3 are the center of the statbox.


Did you try to set x/y in NDC values, i.e. the normalized coordinates
between 0 and 1 ?

Michael


> 
 >  When I do it, the stat box completely vanished. How can I pick the
 > coordinate for the statbox st that I can move it to a certain position of
 > the pigure.
 > 
 > Thank you,
 > 
 > Gunasingha
 > 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET