----------------------------------------------------------------
| Welcome to ROOT 6.03/03 http://root.cern.ch |
| (c) 1995-2014, The ROOT Team |
| Built for macosx64 |
| From heads/master@v6-03-02-699-g8c3ad7e, Apr 02 2015, 10:05:15 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
----------------------------------------------------------------
root [0] .x emix.C
3
Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
root [1]
Ok, it works without compiling the code. Thanks !
And for setting the range, do you have an idea ? If I do htemp->SetMaximum(max) and htemp->SetMinimum(min), it modifies only the palette, not the color of the points.
Thanks for your suggestion, I made a few tests but I couldn’t find how to draw an empty 3D frame using gPad->DrawFrame()… I used the following function : TH1F * DrawFrame(Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax, const char* title = “”). The range I need to set is on the fourth dimension… Is it possible to do that ?
Ok … tricky … min less than the minimum of the variable and max greater than the maximum of the variable cannot be set on ntuple variables …
I have no answer right now.