adopted unzoom to "improvement" r33665 in root-5.27.04

This commit is contained in:
nemu
2010-09-15 05:53:59 +00:00
parent a8072c4dc0
commit afe5f2eca0

View File

@ -2577,6 +2577,14 @@ void PMusrCanvas::PlotData()
fHistoFrame->GetXaxis()->SetRangeUser(fXmin, fXmax);
fHistoFrame->GetYaxis()->SetRangeUser(fYmin, fYmax);
// set all histo/theory ranges properly
for (UInt_t i=0; i<fData.size(); i++) {
fData[i].data->GetXaxis()->SetRangeUser(fXmin, fXmax);
fData[i].data->GetYaxis()->SetRangeUser(fYmin, fYmax);
fData[i].theory->GetXaxis()->SetRangeUser(fXmin, fXmax);
fData[i].theory->GetYaxis()->SetRangeUser(fYmin, fYmax);
}
// set x-axis label
fHistoFrame->GetXaxis()->SetTitle("time (#mus)");
// set y-axis label