Changeset 5690 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 12/27/04 13:13:32 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CCDataCheck.C
r3866 r5690 509 509 // Drive report (pointing.C from T. Bretz) 510 510 // 511 TCanvas *c1; 511 512 if ((d = evtloop.GetDisplay())) 512 TCanvas &c1 = d.AddTab("DRIVE SYSTEM");513 c1 = &d->AddTab("DRIVE SYSTEM"); 513 514 else 514 TCanvas *c1 = new TCanvas(); 515 c1 = new TCanvas(); 516 515 517 // ************* Plot the telescope tracking positions on the sky *********** 516 518 TGraph *g1 = hZd.GetGraph(); … … 563 565 gStyle->SetStatFormat(".2g"); 564 566 mh3 = (MH3*)hError.DrawClone("nonew"); 565 mh3->GetHist() ->SetXTitle("\\Delta [arcmin]");566 mh3->GetHist() ->SetYTitle("");567 mh3->GetHist() ->SetTitle("Control deviation of the motors");568 mh3->GetHist() ->SetStats(1);569 mh3->GetHist() ->SetLabelSize(0.06,"X");570 mh3->GetHist() ->SetLabelSize(0.06,"Y");571 mh3->GetHist() ->SetTitleSize(0.06,"X");567 mh3->GetHist().SetXTitle("\\Delta [arcmin]"); 568 mh3->GetHist().SetYTitle(""); 569 mh3->GetHist().SetTitle("Control deviation of the motors"); 570 mh3->GetHist().SetStats(1); 571 mh3->GetHist().SetLabelSize(0.06,"X"); 572 mh3->GetHist().SetLabelSize(0.06,"Y"); 573 mh3->GetHist().SetTitleSize(0.06,"X"); 572 574 TLine ln; 573 575 ln.SetLineColor(kGreen); 574 ln.DrawLine(0.5*360*60/16384., 0, 0.5*360*60/16384., hError.GetHist() ->GetMaximum());576 ln.DrawLine(0.5*360*60/16384., 0, 0.5*360*60/16384., hError.GetHist().GetMaximum()); 575 577 ln.SetLineColor(kYellow); 576 ln.DrawLine(1.0*360*60/16384., 0, 1.0*360*60/16384., hError.GetHist() ->GetMaximum());578 ln.DrawLine(1.0*360*60/16384., 0, 1.0*360*60/16384., hError.GetHist().GetMaximum()); 577 579 ln.SetLineColor(kRed); 578 ln.DrawLine(2.0*360*60/16384., 0, 2.0*360*60/16384., hError.GetHist() ->GetMaximum());580 ln.DrawLine(2.0*360*60/16384., 0, 2.0*360*60/16384., hError.GetHist().GetMaximum()); 579 581 // ---------------------- Plot the drive status vs time --------------------- 580 582 c1->cd(); … … 616 618 gStyle->SetStatFormat(".2g"); 617 619 mh3 = (MH3*)hError2.DrawClone("nonew"); 618 mh3->GetHist() ->SetXTitle("Zd [\\circ]");619 mh3->GetHist() ->SetYTitle("\\Delta [arcmin]");620 mh3->GetHist() ->SetTitle("Control deviation of the motors");621 mh3->GetHist() ->SetLabelSize(0.06,"X");622 mh3->GetHist() ->SetLabelSize(0.06,"Y");623 mh3->GetHist() ->SetTitleSize(0.06,"X");624 mh3->GetHist() ->SetTitleSize(0.06,"Y");625 mh3->GetHist() ->SetStats(1);626 mh3->GetHist() ->Draw("box");620 mh3->GetHist().SetXTitle("Zd [\\circ]"); 621 mh3->GetHist().SetYTitle("\\Delta [arcmin]"); 622 mh3->GetHist().SetTitle("Control deviation of the motors"); 623 mh3->GetHist().SetLabelSize(0.06,"X"); 624 mh3->GetHist().SetLabelSize(0.06,"Y"); 625 mh3->GetHist().SetTitleSize(0.06,"X"); 626 mh3->GetHist().SetTitleSize(0.06,"Y"); 627 mh3->GetHist().SetStats(1); 628 mh3->GetHist().Draw("box"); 627 629 // -------------------------- Zenith angle vs time -------------------------- 628 630 c1->cd();
Note:
See TracChangeset
for help on using the changeset viewer.