Dear ROOT experts,
is there a way to draw a single TPaletteAxis with an arbitrary range, without having a histogram? Something like
TPaletteAxis *p = new TPaletteAxis(0, 0, 1, 1, NULL);
does not work unfortunately.
If this is not possible, can one draw an empty 2d-histogram with a palette with arbitrary range, such that one can see the palette only? Something like
TH2F *h2 = new TH2F("h1","h1",100,0,100, 100,0,100); h2->GetZaxis()->SetRange(0,100); // set range of the palette axis h2->Draw("COLZ");
seems not to work.
Many thanks in advance for your answers.
Kind regards,
Alexander Voigt
Received on Sun Oct 17 2010 - 10:13:41 CEST
This archive was generated by hypermail 2.2.0 : Sun Oct 17 2010 - 11:50:01 CEST