Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. curveA[t_] := {0, 4} + t {3, -4}
  2. curveB[t_] := {8, 2} + t {0, -2}
  3. curveC[t_] := {2, 2} + t {0, -2}
  4.  
  5. Show[{ParametricPlot[{curveA[t], curveB[t]}, {t, 0, 1},
  6. PlotStyle -> {Directive[{Red, Thickness[0.01]}]}],
  7. Graphics[{EdgeForm[None], FaceForm[Lighter[Blue]],
  8. Polygon[{{0, 4}, {3, 0}, {8, 0}, {8, 2}}]}]}, Axes -> True]
  9. Show[{ParametricPlot[{curveA[t], curveC[t]}, {t, 0, 1},
  10. PlotStyle -> {Directive[{Red, Thickness[0.01]}]}],
  11. Graphics[{EdgeForm[None], FaceForm[Lighter[Blue]],
  12. Polygon[{{0, 4}, {2, 2}, {2, 0}, {3, 0}}]}]}, Axes -> True]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement