Changeset 8319
- Timestamp:
- 02/15/07 12:08:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/tutorials/mirrordelay.C
r8317 r8319 69 69 c->SetGridy(); 70 70 71 TF1 del("Diff", "(Sphere-Parab+TMath::Hypot(x-0, Parab-[0])-[0])/3e8*1e9");72 del.SetParameter(0, F);71 TF1 fdel("Diff", "(Sphere-Parab+TMath::Hypot(x-0, Parab-[0])-[0])/3e8*1e9"); 72 fdel.SetParameter(0, F); 73 73 74 del.SetRange(-D*0.55, D*0.55);75 f = (TF1*) diff.DrawClone();74 fdel.SetRange(-D*0.55, D*0.55); 75 f = (TF1*)fdel.DrawClone(); 76 76 77 77 f->GetXaxis()->SetTitle("x [m]");
Note:
See TracChangeset
for help on using the changeset viewer.