On Wed, Sep 27, 2006 at 01:12:20PM +0200, Olivier Couet wrote:
> I just said that hpxpy is generated by hsimple.C... It sits in the file
> hsimple.root once you have executed hsimple.C ... What ticks are you
> talking about ?
The ticks of the axis (TGaxis *a = palette->GetAxis()). I also tried a->SetOptions("S") without. See the attachment.
This is exactly what I'm doing, using ROOT Version 5.10/00e:
.x $ROOTSYS/tutorials/hsimple.C
hpxpy->Draw("colz");
gPad->Update();
// get the palette
TPaletteAxis *palette = \
(TPaletteAxis*)hpxpy->GetListOfFunctions()->FindObject("palette");
TGaxis *a = palette->GetAxis();
a->SetTickSize(0);
a->SetLabelOffset(999);
gPad->Modified();
Thanks,
Nico
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET