Changeset 8753 for trunk


Ignore:
Timestamp:
10/08/07 11:25:01 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/tutorials/mirrordelay.C

    r8337 r8753  
    7676    c->SetGridx();
    7777    c->SetGridy();
     78    c->SetRightMargin(0.01);
    7879
    79     TLegend leg(0.40, 0.6, 0.60, 0.85);//, "NDC");
     80    TLegend leg(0.40, 0.6, 0.60, 0.85, "Focal length");//, "NDC");
    8081
    8182    for (int i=-2; i<3; i++)
     
    104105        f = (TF1*)fdel.DrawClone(i==-2?"":"same");
    105106
    106         f->GetXaxis()->SetTitle("x [m]");
     107        f->GetHistogram()->SetTitle("Arrival time delay for a spherical mirror");
     108
     109        f->GetXaxis()->SetTitle("r [m]");
    107110        f->GetYaxis()->SetTitle("Delay  \\Delta t [ns]");
    108111        f->GetXaxis()->CenterTitle();
     112        f->GetYaxis()->CenterTitle();
     113        f->GetYaxis()->SetTitleOffset(1.3);
    109114
    110115        leg.AddEntry(f, Form("F=%.1fm", F+i*0.10*F));
Note: See TracChangeset for help on using the changeset viewer.