Hi Robert, I assume that you mean "I am drawing a TH2D using the "SURF2Z" option" not a TH3D. In the CVS version, the logic to draw the color palette has been modified. Like for the TPaveStats, there is now a new class TPaletteAxis added to the histogram list of functions. You can get a pointer to this object with: TPaletteAxis *palette = (TPaletteAxis*)h->GetListOfFunctions()->FindObject("palette"); Interactively with the mouse, you can move/resize the palette, and also via the context menu change the axis attributes. Rene Brun On Thu, 14 Nov 2002, Robert Wagner wrote: > Hello ROOTers, > > I am drawing a TH3D using the "SURF2Z" option. I'd like to change the > size and location of the color palette (not the palette!) which is drawn > on the right-hand side of the histogram (and perhaps also number of > divisions and font size, but this is taken from the z axis > attributes)... but up to now I didn't find out how to do it :-( How can > I access this "color palette with an axis", as it is called in the > User's Manual? > > Best regards, > Robert > -- > Robert Marcus Wagner, Dipl.-Phys. 48.187°N 11.623°E > Max-Planck-Institut fuer Physik, Muenchen (Werner-Heisenberg-Institut) > Phone: +49(0)89/32354-227, +49(0)89-20349911, Fax: +49(0)89/32354-516 > rwagner@mppmu.mpg.de · WWW: http://www.rwagner.de/ · PGP: 0x8C94B8BE >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:18 MET