swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Raw File
Tip revision: 020eff3b2769a556ec2d1702e68309543c13e9bc authored by Unknown Author on 23 January 2004, 16:34:16 UTC
This commit was manufactured by cvs2svn to create tag 'v3-10-01a'.
Tip revision: 020eff3
xysliderAction.C
{
   Int_t nx = hpxpy->GetXaxis()->GetNbins();
   Int_t ny = hpxpy->GetYaxis()->GetNbins();
   Int_t binxmin = nx*xslider->GetMinimum();
   Int_t binxmax = nx*xslider->GetMaximum();
   hpxpy->GetXaxis()->SetRange(binxmin,binxmax);
   Int_t binymin = ny*yslider->GetMinimum();
   Int_t binymax = ny*yslider->GetMaximum();
   hpxpy->GetYaxis()->SetRange(binymin,binymax);
   pad->cd();
   pad->Modified();
   //hpxpy->Draw(hpxpy->GetDrawOption());
   c1->Update();
}
back to top