Hi Suzanne, do TH1F h("h","h",128,0,128); h.GetXaxis()->SetNdivisions(-8); h.Draw(); Rene Suzanne Panacek wrote: > > Hi, > Does anyone know how to set the position of the first grid line on a display > of a histogram? > In a histogram with an axis from 1-128, we would like to draw a gridline > every 16 bins, with the first starting at 16. > > his->GetYaxis()->SetNdivision(8) > Set the divisons, but what we see are lines at 20, 40,...,120. And > we want them at 16, 32,...,128. > > Suzanne Panacek
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET