Re: changing THistPainter behaviour

From: Nico De Simone <nicola.desimone_at_roma2.infn.it>
Date: Wed, 27 Sep 2006 12:10:44 +0200


On Tue, Sep 26, 2006 at 04:12:52PM +0200, Olivier Couet wrote:
>
> example:
>
> {
> hpxpy->Draw("colz");
> gPad->Update();
>
> // get the palette
> TPaletteAxis *palette =
> (TPaletteAxis*)hpxpy->GetListOfFunctions()->FindObject("palette");
> // remove the palette axis
> TGaxis *a = palette->GetAxis();
> a->SetTickSize(0);
> a->SetLabelOffset(999);
> gPad->Modified();

Just a little problem here. I always see the ticks (using $ROOTSYS/tutorials/hsimple.C).

Cheers,
Nico Received on Wed Sep 27 2006 - 11:53:44 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET