33 SetConstRatio(kFALSE);
45 Int_t numx = histo->GetNbinsX();
46 Int_t numy = histo->GetNbinsY();
48 TArrayD arr(numx*numy);
49 for (
int x=1; x<=numx; x++)
50 for (
int y=1; y<=numy; y++)
51 arr[(y-1)*numx + (x-1)] = histo->GetBinContent(x, y);
54 SetName(histo->GetName());
67 fxMinX = histo->GetXaxis()->GetXmin();
68 fxMaxX = histo->GetXaxis()->GetXmax();
69 fxMinY = histo->GetYaxis()->GetXmin();
70 fxMaxY = histo->GetYaxis()->GetXmax();
75 if ((rxmin>=rxmax) && (rymin>=rymax)) {
99 TASImage::Zoom(offX, offY, width, height);
104 TASImage::Zoom(offX, offY, width, height);
124 if(fPaletteEditor!=0) {
125 fPaletteEditor->CloseWindow();
130 #endif // asimage disable switch
void SetDrawData(TH2 *histo, TGo4ViewPanel *panel, TPad *pad)
void ClosePaletteEditor()
virtual void PadRangeAxisChanged(TPad *pad)
double fdHeight
original width of image (histogram)
virtual void Zoom(UInt_t offX, UInt_t offY, UInt_t width, UInt_t height)
void SetSelectedRange(double rxmin, double rxmax, double rymin, double rymax)
void SetHistogramContent(TH2 *histo)