- Timestamp:
- 10/08/07 11:25:01 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/tutorials/mirrordelay.C
r8337 r8753 76 76 c->SetGridx(); 77 77 c->SetGridy(); 78 c->SetRightMargin(0.01); 78 79 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"); 80 81 81 82 for (int i=-2; i<3; i++) … … 104 105 f = (TF1*)fdel.DrawClone(i==-2?"":"same"); 105 106 106 f->GetXaxis()->SetTitle("x [m]"); 107 f->GetHistogram()->SetTitle("Arrival time delay for a spherical mirror"); 108 109 f->GetXaxis()->SetTitle("r [m]"); 107 110 f->GetYaxis()->SetTitle("Delay \\Delta t [ns]"); 108 111 f->GetXaxis()->CenterTitle(); 112 f->GetYaxis()->CenterTitle(); 113 f->GetYaxis()->SetTitleOffset(1.3); 109 114 110 115 leg.AddEntry(f, Form("F=%.1fm", F+i*0.10*F));
Note:
See TracChangeset
for help on using the changeset viewer.