adopted unzoom to "improvement" r33665 in root-5.27.04
This commit is contained in:
@ -2577,6 +2577,14 @@ void PMusrCanvas::PlotData()
|
|||||||
fHistoFrame->GetXaxis()->SetRangeUser(fXmin, fXmax);
|
fHistoFrame->GetXaxis()->SetRangeUser(fXmin, fXmax);
|
||||||
fHistoFrame->GetYaxis()->SetRangeUser(fYmin, fYmax);
|
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
|
// set x-axis label
|
||||||
fHistoFrame->GetXaxis()->SetTitle("time (#mus)");
|
fHistoFrame->GetXaxis()->SetTitle("time (#mus)");
|
||||||
// set y-axis label
|
// set y-axis label
|
||||||
|
Reference in New Issue
Block a user