Hi Tim, If you take the version in CVS, you can set the format via gStyle->SetPaintTextFormat(format); The default is format="g" Rene Brun Timothy E. Miller wrote: > > Dear ROOT-ers, > > I am pretty sure it is possible but I can't find the > documentation. How does one set the format of the > histogram bin contents when executing the TH2::Draw("TEXT") > command? > > i.e. instead of as many decimal places as will fit due > to text size, I would like the format to be forced at > something like 1.23 (3.2g or 4.2g...I always forget how > to count these things) > > Thanks in advance, > -Tim
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET