32 SetConstRatio(kFALSE);
44 Int_t numx = histo->GetNbinsX();
45 Int_t numy = histo->GetNbinsY();
47 TArrayD arr(numx*numy);
48 for (
int x=1; x<=numx; x++)
49 for (
int y=1; y<=numy; y++)
50 arr[(y-1)*numx + (x-1)] = histo->GetBinContent(x, y);
53 SetName(histo->GetName());
66 fxMinX = histo->GetXaxis()->GetXmin();
67 fxMaxX = histo->GetXaxis()->GetXmax();
68 fxMinY = histo->GetYaxis()->GetXmin();
69 fxMaxY = histo->GetYaxis()->GetXmax();
74 if ((rxmin>=rxmax) && (rymin>=rymax)) {
98 TASImage::Zoom(offX, offY, width, height);
103 TASImage::Zoom(offX, offY, width, height);
123 if(fPaletteEditor!=0) {
124 fPaletteEditor->CloseWindow();
129 #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)