Changeset 7263 for trunk/MagicSoft/Cosy


Ignore:
Timestamp:
08/05/05 17:14:59 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tpoint/gui.C

    r7104 r7263  
    616616
    617617        c1=new TCanvas("CanvGraphs", "Graphs");
     618        c1->SetFillColor(kWhite);
    618619        c1->Divide(3,3,1e-10,1e-10);
    619620
     
    630631        g->GetHistogram()->SetXTitle("Az [\\circ]");
    631632        g->GetHistogram()->SetYTitle("\\Delta Az [\\circ]");
     633
    632634        line.DrawLine(g->GetXaxis()->GetXmin(),  360./16384, g->GetXaxis()->GetXmax(),  360./16384);
    633635        line.DrawLine(g->GetXaxis()->GetXmin(), -360./16384, g->GetXaxis()->GetXmax(), -360./16384);
     
    763765        hres1.DrawCopy();
    764766
    765         line.DrawLine(360./16384, 0, 360./16384, hres1.GetMaximum());
     767        gPad->Update();
     768
     769        line.DrawLine(360./16384, gPad->GetUymin(), 360./16384, gPad->GetUymax());
    766770   
    767771        c1->cd(4);
     
    782786        cout << "Fit-Probability: " << f.GetProb()*100 << "%" << endl;
    783787        cout << "      Chi^2/NDF: " << f.GetChisquare() << "/" << f.GetNDF() << " = " << f.GetChisquare()/f.GetNDF() << endl;
    784         line.DrawLine(360./16384, 0, 360./16384, h->GetMaximum());
     788        gPad->Update();
     789        line.DrawLine(360./16384, gPad->GetUymin(), 360./16384, gPad->GetUymax());
    785790
    786791        c1->cd(1);
Note: See TracChangeset for help on using the changeset viewer.