Guest User

Untitled

a guest
Oct 16th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. ClearAll[x, t, s];
  2. Manipulate[
  3. curves = {x[t, #], y[t]} & /@ s;
  4.  
  5. ParametricPlot[curves, {t, 0, 1}, ImageSize -> 300,
  6. PlotRange -> {{-2, 2}, Automatic}, PlotLegends -> "Expressions"],
  7.  
  8. {{s, Range[0, 1, .2], "s"}, Range[0, 1, .2], ControlType -> TogglerBar},
  9.  
  10. Initialization :> (
  11. x[t_, s_] := (Print[s]; t - Exp[t] + 2 s);
  12. y[t_] := Exp[t]
  13. )
  14. ]
Add Comment
Please, Sign In to add comment